Skip to content

Commit

Permalink
Merge pull request #7675 from obsidiansystems/tighten-export-refs-test
Browse files Browse the repository at this point in the history
Tighten up the `exportReferencesGraph` tests
  • Loading branch information
roberth committed Jan 24, 2023
2 parents f503ba1 + f587598 commit 04cc7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/export-graph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 | grep -q "$1"'$' || fail "missing reference $1"
}

# Test the export of the runtime dependency graph.
Expand Down

0 comments on commit 04cc7f9

Please sign in to comment.