aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 13:13:39 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 13:13:39 +0000
commit21b134b4e5d150690bc56ede1da3790705d637aa (patch)
treec065670412389ff38642e3f4c451151de1cf529d /tests
parenta3c63d0d6c2570ce3218be809f67dddc5239cdff (diff)
Diffstat (limited to 'tests')
-rw-r--r--tests/referrers.sh6
1 files 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"