aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-06-24 10:02:40 +0200
committerGitHub <noreply@github.com>2022-06-24 10:02:40 +0200
commitf06b6fa4faa3283c28a01579d89ee4039d7ecc36 (patch)
treec3b8f07f32728335114db462d34347d55104384a /tests
parent2ef6785d8e0c87d8b0cacbe2449683d9fd2e5844 (diff)
parent983efdbde47bd0ecaff866d43c3155761574c112 (diff)
Merge pull request #6698 from tweag/forbid-tilde-paths-in-pure-mode
Forbid the tilde expansion in pure eval mode
Diffstat (limited to 'tests')
-rw-r--r--tests/pure-eval.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pure-eval.sh b/tests/pure-eval.sh
index 1a4568ea6..b83ab8afe 100644
--- a/tests/pure-eval.sh
+++ b/tests/pure-eval.sh
@@ -30,3 +30,5 @@ nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ x = "foo" + "
rm -rf $TEST_ROOT/eval-out
(! nix eval --store dummy:// --write-to $TEST_ROOT/eval-out --expr '{ "." = "bla"; }')
+
+(! nix eval --expr '~/foo')