diff options
Diffstat (limited to 'tests/functional/nested-sandboxing.sh')
-rw-r--r-- | tests/functional/nested-sandboxing.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/nested-sandboxing.sh b/tests/functional/nested-sandboxing.sh new file mode 100644 index 000000000..61fe043c6 --- /dev/null +++ b/tests/functional/nested-sandboxing.sh @@ -0,0 +1,11 @@ +source common.sh +# This test is run by `tests/functional/nested-sandboxing/runner.nix` in an extra layer of sandboxing. +[[ -d /nix/store ]] || skipTest "running this test without Nix's deps being drawn from /nix/store is not yet supported" + +requireSandboxSupport + +source ./nested-sandboxing/command.sh + +expectStderr 100 runNixBuild badStoreUrl 2 | grepQuiet '`sandbox-build-dir` must not contain' + +runNixBuild goodStoreUrl 5 |