diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T11·04+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24T11·04+0000 |
commit | 69d9df7fe6a0c4043e6f913137b5322bc5c48073 (patch) | |
tree | 9e1cd7b5415245be25c0b0ddb0b2fc7a3dc681b5 /tests | |
parent | 462bd50aefca3d70e76ccf17f42c2aef4714c95b (diff) |
* Don't fork so much.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/referrers.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh index 752f05c3d5c5..8f4233b9971d 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..." |