From 21b134b4e5d150690bc56ede1da3790705d637aa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Feb 2010 13:13:39 +0000 Subject: [PATCH] --- tests/referrers.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/referrers.sh b/tests/referrers.sh index 8f4233b99..a0c195d5a 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"