test-convert-cvs: filter unstable cvs output.
The order choosen by cvs to display commit is not stable when the tests are run
under heavy CPU/IO load. This leads to irrelevant failures of the test suite.
This changeset filters four lines impacted by this instability. The result of
the conversion is still verified.
--- a/tests/test-convert-cvs Tue Mar 23 11:48:14 2010 +0100
+++ b/tests/test-convert-cvs Mon Mar 22 22:19:40 2010 +0100
@@ -80,7 +80,8 @@
ls srcfull
hg convert srcfull srcfull-hg \
| sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' \
- | grep -v 'log entries' | grep -v 'hook:'
+ | grep -v 'log entries' | grep -v 'hook:' \
+ | grep -v '^[0-3] .*' # filter instable changeset order
hg cat -r tip srcfull-hg/src/a
hg cat -r tip srcfull-hg/src/b/c
--- a/tests/test-convert-cvs.out Tue Mar 23 11:48:14 2010 +0100
+++ b/tests/test-convert-cvs.out Mon Mar 22 22:19:40 2010 +0100
@@ -67,10 +67,6 @@
4 changeset entries
sorting...
converting...
-3 Initial revision
-2 import
-1 initial checkin
-0 ci0
updating tags
a
c