From d8e9d71f87db912d73345fec2f9fcb61b25231cf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 28 Feb 2025 15:56:15 +0900 Subject: test/sandbox: check mount outcome Do this at the beginning of the test for early failure. Signed-off-by: Ophestra --- test/sandbox/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/sandbox/default.nix (limited to 'test/sandbox/default.nix') 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 +'' -- cgit v1.3.1