aboutsummaryrefslogtreecommitdiff
path: root/tests/export-graph.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/export-graph.sh')
-rw-r--r--tests/export-graph.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/export-graph.sh b/tests/export-graph.sh
index a1449b34e..1f6232a40 100644
--- a/tests/export-graph.sh
+++ b/tests/export-graph.sh
@@ -4,7 +4,7 @@ clearStore
clearProfiles
checkRef() {
- nix-store -q --references $TEST_ROOT/result | grep -q "$1" || fail "missing reference $1"
+ nix-store -q --references $TEST_ROOT/result | grepQuiet "$1"'$' || fail "missing reference $1"
}
# Test the export of the runtime dependency graph.