mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
* Now all the tests succeed (which mostly means there are not enough
tests... ;-)
This commit is contained in:
parent
95fa444587
commit
8472d7eb31
6 changed files with 183 additions and 153 deletions
|
|
@ -11,7 +11,7 @@ $nixstore -q --graph "$drvPath" > $TEST_ROOT/graph
|
|||
if test -n "$dot"; then
|
||||
# Does it parse?
|
||||
$dot < $TEST_ROOT/graph
|
||||
fi
|
||||
fi
|
||||
|
||||
outPath=$($nixstore -rvv "$drvPath")
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,11 @@ echo "registering..."
|
|||
time for ((n = 0; n < $max; n++)); do
|
||||
storePath=$NIX_STORE_DIR/$n
|
||||
touch $storePath
|
||||
(echo $storePath && echo && echo 1 && echo $reference)
|
||||
ref2=$NIX_STORE_DIR/$((n+1))
|
||||
if test $((n+1)) = $max; then
|
||||
ref2=$reference
|
||||
fi
|
||||
(echo $storePath && echo && echo 2 && echo $reference && echo $ref2)
|
||||
done | $nixstore --register-validity
|
||||
|
||||
echo "collecting garbage..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue