mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
parent
5bdb67c843
commit
5722f9690c
11 changed files with 42 additions and 23 deletions
|
@ -11,7 +11,7 @@ checkRef() {
|
|||
|
||||
outPath=$(nix-build ./export-graph.nix -A 'foo."bar.runtimeGraph"' -o $TEST_ROOT/result)
|
||||
|
||||
test $(nix-store -q --references $TEST_ROOT/result | wc -l) = 2 || fail "bad nr of references"
|
||||
test $(nix-store -q --references $TEST_ROOT/result | wc -l) = 3 || fail "bad nr of references"
|
||||
|
||||
checkRef input-2
|
||||
for i in $(cat $outPath); do checkRef $i; done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue