diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10 21:32:34 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-10-10 21:32:34 +0000 |
commit | 8af7d766f0244d5b15d89ab2d2d66b0d63e8f576 (patch) | |
tree | 3346cb494de0bf35403d812efd8b757595cd44d6 /tests/referrers.sh | |
parent | cd6d02c366af43bccdd2ef345193e4fdeca78a13 (diff) |
* Refactoring: remove unnecessary variables from the tests.
Diffstat (limited to 'tests/referrers.sh')
-rw-r--r-- | tests/referrers.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh index a0c195d5a..d4604aec9 100644 --- a/tests/referrers.sh +++ b/tests/referrers.sh @@ -6,7 +6,7 @@ max=500 reference=$NIX_STORE_DIR/abcdef touch $reference -(echo $reference && echo && echo 0) | $nixstore --register-validity +(echo $reference && echo && echo 0) | nix-store --register-validity echo "making registration..." @@ -22,11 +22,11 @@ done > $TEST_ROOT/reg_info echo "registering..." -$nixstore --register-validity < $TEST_ROOT/reg_info +nix-store --register-validity < $TEST_ROOT/reg_info echo "collecting garbage..." ln -sfn $reference "$NIX_STATE_DIR"/gcroots/ref -$nixstore --gc +nix-store --gc if test "$(sqlite3 ./test-tmp/db/db.sqlite 'select count(*) from Refs')" -ne 0; then echo "referrers not cleaned up" |