From: Eric S. Raymond Date: Tue, 11 Nov 2014 06:54:49 +0000 (-0500) Subject: Allow the test to run a bit faster. X-Git-Tag: 0.5~25 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=cb851b2663eb2d9eeafb830449bffac729b6077e;p=src.git Allow the test to run a bit faster. --- diff --git a/srctest b/srctest index 4f153ca..9c127f1 100755 --- a/srctest +++ b/srctest @@ -56,7 +56,7 @@ src $TESTOPTS diff testfile1 | (read discard; read discard; cat) >testfile5 diff -u testfile4 testfile5 check "nonempty diff" -sleep 2 # Force commit to have different timestamp +sleep 1 # Force commit to have different timestamp echo "Second comment" | src $TESTOPTS commit - testfile1 >/dev/null check "commit with -" @@ -94,7 +94,7 @@ to come to the aid of foo EOF cp testfile1 testrev3 -sleep 2 # Force commit to have different timestamp +sleep 1 # Force commit to have different timestamp echo "'Third' comment" >testfile4 src $TESTOPTS commit -f testfile4 testfile1 >/dev/null check "commit with -f"