test/sandbox: check mount outcome
Do this at the beginning of the test for early failure. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
12
test/sandbox/default.nix
Normal file
12
test/sandbox/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
writeShellScript,
|
||||
callPackage,
|
||||
|
||||
version,
|
||||
}:
|
||||
writeShellScript "check-sandbox" ''
|
||||
set -e
|
||||
${callPackage ./mount.nix { inherit version; }}/bin/test
|
||||
|
||||
touch /tmp/sandbox-ok
|
||||
''
|
||||
Reference in New Issue
Block a user