mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Clean up a test warning
This commit is contained in:
parent
20d0598928
commit
1f94ec3924
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ echo "collecting garbage..."
|
|||
ln -sfn $reference "$NIX_STATE_DIR"/gcroots/ref
|
||||
nix-store --gc
|
||||
|
||||
if test "$(sqlite3 ./test-tmp/db/db.sqlite 'select count(*) from Refs')" -ne 0; then
|
||||
if [ -n "$(type -p sqlite3)" -a "$(sqlite3 ./test-tmp/db/db.sqlite 'select count(*) from Refs')" -ne 0 ]; then
|
||||
echo "referrers not cleaned up"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue