tests/multiple-outputs.sh: Assert empty store

This commit is contained in:
Eelco Dolstra 2021-08-25 14:05:25 +02:00
parent 262520fcfe
commit c24b9d68c5

View file

@ -76,7 +76,10 @@ if nix-build multiple-outputs.nix -A cyclic --no-out-link; then
exit 1
fi
# Do a GC. This should leave an empty store.
echo "collecting garbage..."
rm $TEST_ROOT/result*
nix-store --gc --keep-derivations --keep-outputs
nix-store --gc --print-roots
rm -rf $NIX_STORE_DIR/.links
rmdir $NIX_STORE_DIR