diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-06 13:54:44 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-06 13:54:44 +0100 |
commit | 1f94ec3924f132ae6d92b29631a59f9818ba4e31 (patch) | |
tree | 28df83d0569d20cda86eb1acfe9aa5b391c0b10b /tests/referrers.sh | |
parent | 20d059892819d2f06f4da8c1150c91e16df1f8cd (diff) | |
download | guix-1f94ec3924f132ae6d92b29631a59f9818ba4e31.tar.gz |
Clean up a test warning
Diffstat (limited to 'tests/referrers.sh')
-rw-r--r-- | tests/referrers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh index e57b2d8e31..0a1c86e0ab 100644 --- a/tests/referrers.sh +++ b/tests/referrers.sh @@ -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 |