aboutsummaryrefslogtreecommitdiff
path: root/tests/flakes/follow-paths.sh
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2023-03-08 21:25:30 +0100
committerGitHub <noreply@github.com>2023-03-08 21:25:30 +0100
commitd25322e7c0dd4b196d04af4d6bc66e2b3e3b7d4c (patch)
treecb4ee4e3f68916a907bf9c1b7d11953abc6caf8a /tests/flakes/follow-paths.sh
parente8415dc439704ee71b0a03b60bc5110bd3426314 (diff)
parentc11836126b5148b6796c2470404a0bdf25cdfbe3 (diff)
Merge pull request #5754 from obsidiansystems/harden-tests-set-u
Harden tests' bash
Diffstat (limited to 'tests/flakes/follow-paths.sh')
-rw-r--r--tests/flakes/follow-paths.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/flakes/follow-paths.sh b/tests/flakes/follow-paths.sh
index 19cc1bafa..fe9b51c65 100644
--- a/tests/flakes/follow-paths.sh
+++ b/tests/flakes/follow-paths.sh
@@ -128,7 +128,7 @@ EOF
git -C $flakeFollowsA add flake.nix
-nix flake lock $flakeFollowsA 2>&1 | grep 'points outside'
+expect 1 nix flake lock $flakeFollowsA 2>&1 | grep 'points outside'
# Non-existant follows should print a warning.
cat >$flakeFollowsA/flake.nix <<EOF