diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T13·13+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T13·13+0000 |
commit | 21b134b4e5d150690bc56ede1da3790705d637aa (patch) | |
tree | c065670412389ff38642e3f4c451151de1cf529d /tests | |
parent | a3c63d0d6c2570ce3218be809f67dddc5239cdff (diff) |
Diffstat (limited to 'tests')
-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 8f4233b9971d..a0c195d5ab6c 100644 --- a/tests/referrers.sh +++ b/tests/referrers.sh @@ -2,7 +2,7 @@ source common.sh clearStore -max=2500 +max=500 reference=$NIX_STORE_DIR/abcdef touch $reference @@ -22,11 +22,11 @@ done > $TEST_ROOT/reg_info echo "registering..." -time $nixstore --register-validity < $TEST_ROOT/reg_info +$nixstore --register-validity < $TEST_ROOT/reg_info echo "collecting garbage..." ln -sfn $reference "$NIX_STATE_DIR"/gcroots/ref -time $nixstore --gc +$nixstore --gc if test "$(sqlite3 ./test-tmp/db/db.sqlite 'select count(*) from Refs')" -ne 0; then echo "referrers not cleaned up" |