comparison tests/test-convert-svn-source.t @ 28533:dfd5a6830ea7

tests: make tests for convert with svn portable svn 1.6.x (at least, 1.6.12 or 1.6.17) might display empty lines, even though svn 1.9.x (at least, 1.9.3) doesn't. To make tests for convert with svn portable, this patch adds "|(^$)" regexp to egrep in filter_svn_output. To avoid similar future issue, this patch adds "|(^$)" regexp to all filter_svn_output (and adjusts test-subrepo-svn.t), even though only test-convert-svn-source.t fails with svn 1.6.x, AFAIK.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 15 Mar 2016 00:14:53 +0900
parents b65481675466
children 4441705b7111
comparison
equal deleted inserted replaced
28532:ed75909c4c67 28533:dfd5a6830ea7
1 #require svn svn-bindings 1 #require svn svn-bindings
2 2
3 $ filter_svn_output () { 3 $ filter_svn_output () {
4 > egrep -v 'Committing|Updating' | sed -e 's/done$//' || true 4 > egrep -v 'Committing|Updating|(^$)' | sed -e 's/done$//' || true
5 > } 5 > }
6 6
7 $ cat >> $HGRCPATH <<EOF 7 $ cat >> $HGRCPATH <<EOF
8 > [extensions] 8 > [extensions]
9 > convert = 9 > convert =