##// END OF EJS Templates
test: use `wait-on-file` in `test-racy-mutations.t`...
marmoute -
r49834:bd752712 stable
parent child Browse files
Show More
@@ -14,14 +14,7 b" while we're running"
14 14 > f="\${WAITLOCK_FILE}"
15 15 > start=\`date +%s\`
16 16 > timeout=5
17 > while [ \\( ! -f \$f \\) -a \\( ! -L \$f \\) ]; do
18 > now=\`date +%s\`
19 > if [ "\`expr \$now - \$start\`" -gt \$timeout ]; then
20 > echo "timeout: \$f was not created in \$timeout seconds (it is now \$(date +%s))"
21 > exit 1
22 > fi
23 > sleep 0.1
24 > done
17 > $RUNTESTDIR/testlib/wait-on-file "\$timeout" "\$f"
25 18 > if [ \$# -gt 1 ]; then
26 19 > cat "\$@"
27 20 > fi
General Comments 0
You need to be logged in to leave comments. Login now