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:
parent
4065f16888
commit
e2443092a4
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue