about summary refs log tree commit diff
path: root/tests/parallel.builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel.builder.sh')
-rw-r--r--tests/parallel.builder.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parallel.builder.sh b/tests/parallel.builder.sh
index d9118eff124a..280eb1de8c41 100644
--- a/tests/parallel.builder.sh
+++ b/tests/parallel.builder.sh
@@ -2,7 +2,7 @@ echo "DOING $text"
 
 
 # increase counter
-while ! ln -s x $shared.lock; do
+while ! ln -s x $shared.lock 2> /dev/null; do
     sleep 1
 done
 test -f $shared.cur || echo 0 > $shared.cur
@@ -17,11 +17,11 @@ rm $shared.lock
 
 echo -n $(cat $inputs)$text > $out
 
-sleep 3
+sleep $sleepTime
 
 
 # decrease counter
-while ! ln -s x $shared.lock; do
+while ! ln -s x $shared.lock 2> /dev/null; do
     sleep 1
 done
 test -f $shared.cur || echo 0 > $shared.cur