]> thyrsus.com Git - src.git/commitdiff
Allow the test to run a bit faster.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 11 Nov 2014 06:54:49 +0000 (01:54 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 11 Nov 2014 06:54:49 +0000 (01:54 -0500)
srctest

diff --git a/srctest b/srctest
index 4f153ca361a43572e0df9ae02555a87858a9cea1..9c127f14b86493eecac8c662282d52039da707ff 100755 (executable)
--- 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"