diff tests/test-convert-hg-svn.t @ 28469:b65481675466

tests: stabilize svn output With 1.9.3 extra bits were appearing...
author timeless <timeless@mozdev.org>
date Fri, 11 Mar 2016 05:47:39 +0000
parents e955549cd045
children dfd5a6830ea7
line wrap: on
line diff
--- a/tests/test-convert-hg-svn.t	Fri Mar 11 22:29:20 2016 +0800
+++ b/tests/test-convert-hg-svn.t	Fri Mar 11 05:47:39 2016 +0000
@@ -1,5 +1,9 @@
 #require svn svn-bindings
 
+  $ filter_svn_output () {
+  >     egrep -v 'Committing|Updating' | sed -e 's/done$//' || true
+  > }
+
   $ cat <<EOF >> $HGRCPATH
   > [extensions]
   > convert =
@@ -37,7 +41,7 @@
   $ echo a > a
   $ svn add a
   A         a
-  $ svn ci -m'added a' a
+  $ svn ci -m'added a' a | filter_svn_output
   Adding         a
   Transmitting file data .
   Committed revision 1.