From 69d9df7fe6a0c4043e6f913137b5322bc5c48073 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Feb 2010 11:04:03 +0000 Subject: * Don't fork so much. --- tests/referrers.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/referrers.sh') 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..." -- cgit v1.2.3