diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-28 15:56:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-28 15:56:15 +0900 |
| commit | d8e9d71f87db912d73345fec2f9fcb61b25231cf (patch) | |
| tree | e314ddb11d7828425c5c8f07013fc82ca69c07e9 /test/sandbox/default.nix | |
| parent | 558974b996c5a9c6fc1c630153aca9695aa3de9c (diff) | |
test/sandbox: check mount outcome
Do this at the beginning of the test for early failure.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/default.nix')
| -rw-r--r-- | test/sandbox/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/sandbox/default.nix b/test/sandbox/default.nix new file mode 100644 index 00000000..fa498444 --- /dev/null +++ b/test/sandbox/default.nix @@ -0,0 +1,12 @@ +{ + writeShellScript, + callPackage, + + version, +}: +writeShellScript "check-sandbox" '' + set -e + ${callPackage ./mount.nix { inherit version; }}/bin/test + + touch /tmp/sandbox-ok +'' |
