1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

tests/functional/restricted.sh: Remove broken test

'--restrict-eval true' was probably not what was intended
(i.e. parsing a file named 'true').
This commit is contained in:
Eelco Dolstra 2024-04-16 17:34:10 +02:00
parent 4065f16888
commit e2443092a4

View file

@ -61,5 +61,3 @@ output="$(nix eval --raw --restrict-eval -I "$traverseDir" \
2>&1 || :)"
echo "$output" | grep "is forbidden"
echo "$output" | grepInverse -F restricted-secret
expectStderr 1 nix-instantiate --restrict-eval true ./dependencies.nix | grepQuiet "forbidden in restricted mode"