aboutsummaryrefslogtreecommitdiff
path: root/tests/restricted.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/restricted.sh')
-rw-r--r--tests/restricted.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/restricted.sh b/tests/restricted.sh
index 9bd16cf51..776893a56 100644
--- a/tests/restricted.sh
+++ b/tests/restricted.sh
@@ -48,4 +48,4 @@ output="$(nix eval --raw --restrict-eval -I "$traverseDir" \
--expr "builtins.readFile \"$traverseDir/$goUp$(pwd)/restricted-innocent\"" \
2>&1 || :)"
echo "$output" | grep "is forbidden"
-! echo "$output" | grep -F restricted-secret
+echo "$output" | grepInverse -F restricted-secret