aboutsummaryrefslogtreecommitdiff
path: root/tests/referrers.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 11:04:03 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24 11:04:03 +0000
commit69d9df7fe6a0c4043e6f913137b5322bc5c48073 (patch)
tree9e1cd7b5415245be25c0b0ddb0b2fc7a3dc681b5 /tests/referrers.sh
parent462bd50aefca3d70e76ccf17f42c2aef4714c95b (diff)
* Don't fork so much.
Diffstat (limited to 'tests/referrers.sh')
-rw-r--r--tests/referrers.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh
index 752f05c3d..8f4233b99 100644
--- a/tests/referrers.sh
+++ b/tests/referrers.sh
@@ -1,8 +1,5 @@
source common.sh
-# This takes way to long on Cygwin (because process creation is so slow...).
-if test "$system" = i686-cygwin; then exit 0; fi
-
clearStore
max=2500
@@ -15,12 +12,12 @@ echo "making registration..."
for ((n = 0; n < $max; n++)); do
storePath=$NIX_STORE_DIR/$n
- touch $storePath
+ echo -n > $storePath
ref2=$NIX_STORE_DIR/$((n+1))
if test $((n+1)) = $max; then
ref2=$reference
fi
- (echo $storePath && echo && echo 2 && echo $reference && echo $ref2)
+ echo $storePath; echo; echo 2; echo $reference; echo $ref2
done > $TEST_ROOT/reg_info
echo "registering..."