comparison tests/test-convert-cvs @ 10760:bdb60057f905 stable

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.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Mon, 22 Mar 2010 22:19:40 +0100
parents b4b16e90712f
children 84a09639d9f1
comparison
equal deleted inserted replaced
10759:9f6e30a89f11 10760:bdb60057f905
78 echo % 'convert full repository (issue1649)' 78 echo % 'convert full repository (issue1649)'
79 cvscall -q -d "$CVSROOT" checkout -d srcfull "." | grep -v CVSROOT 79 cvscall -q -d "$CVSROOT" checkout -d srcfull "." | grep -v CVSROOT
80 ls srcfull 80 ls srcfull
81 hg convert srcfull srcfull-hg \ 81 hg convert srcfull srcfull-hg \
82 | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' \ 82 | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' \
83 | grep -v 'log entries' | grep -v 'hook:' 83 | grep -v 'log entries' | grep -v 'hook:' \
84 | grep -v '^[0-3] .*' # filter instable changeset order
84 hg cat -r tip srcfull-hg/src/a 85 hg cat -r tip srcfull-hg/src/a
85 hg cat -r tip srcfull-hg/src/b/c 86 hg cat -r tip srcfull-hg/src/b/c
86 87
87 echo % commit new file revisions 88 echo % commit new file revisions
88 cd src 89 cd src