test-convert-cvs: add a sleep to make test more stable stable
authorMads Kiilerich <mads@kiilerich.com>
Thu, 02 Sep 2010 22:38:12 +0200
branchstable
changeset 12153 d598d24a7e67
parent 12146 4d12c42fe932
child 12160 44fcacae45c8
child 12170 581066a319e5
test-convert-cvs: add a sleep to make test more stable The recent addition of fuzzy tests introduced a new cvs commit which sometimes fails. This adds a sleep to make sure that cvs notices that the file has changed, similar to how it is done in other tests.
tests/test-convert-cvs
--- a/tests/test-convert-cvs	Thu Sep 02 17:07:02 2010 +0200
+++ b/tests/test-convert-cvs	Thu Sep 02 22:38:12 2010 +0200
@@ -134,6 +134,7 @@
 
 echo % commit new file revisions with some fuzz
 cd src
+sleep 1
 echo f >> a
 cvscall -q commit -mfuzzy . | grep '<--' |\
     sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'