diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-03-08 21:25:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 21:25:30 +0100 |
commit | d25322e7c0dd4b196d04af4d6bc66e2b3e3b7d4c (patch) | |
tree | cb4ee4e3f68916a907bf9c1b7d11953abc6caf8a /tests/flakes/check.sh | |
parent | e8415dc439704ee71b0a03b60bc5110bd3426314 (diff) | |
parent | c11836126b5148b6796c2470404a0bdf25cdfbe3 (diff) |
Merge pull request #5754 from obsidiansystems/harden-tests-set-u
Harden tests' bash
Diffstat (limited to 'tests/flakes/check.sh')
-rw-r--r-- | tests/flakes/check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/flakes/check.sh b/tests/flakes/check.sh index 278ac7fa4..865ca61b4 100644 --- a/tests/flakes/check.sh +++ b/tests/flakes/check.sh @@ -73,5 +73,5 @@ cat > $flakeDir/flake.nix <<EOF EOF checkRes=$(nix flake check --keep-going $flakeDir 2>&1 && fail "nix flake check should have failed" || true) -echo "$checkRes" | grep -q "packages.system-1.default" -echo "$checkRes" | grep -q "packages.system-2.default" +echo "$checkRes" | grepQuiet "packages.system-1.default" +echo "$checkRes" | grepQuiet "packages.system-2.default" |