##// END OF EJS Templates
tests: use egrep with regular expression branches for compatibility...
Danek Duvall -
r25861:11ab8714 stable
parent child Browse files
Show More
@@ -120,7 +120,7 b' as default style, except for extra phase'
120 $ hg log --style default > style.out
120 $ hg log --style default > style.out
121 $ cmp log.out style.out || diff -u log.out style.out
121 $ cmp log.out style.out || diff -u log.out style.out
122 $ hg log -T phases > phases.out
122 $ hg log -T phases > phases.out
123 $ diff -U 0 log.out phases.out | grep -v '^---\|^+++'
123 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
124 @@ -2,0 +3 @@
124 @@ -2,0 +3 @@
125 +phase: draft
125 +phase: draft
126 @@ -6,0 +8 @@
126 @@ -6,0 +8 @@
@@ -146,7 +146,7 b' as default style, except for extra phase'
146 $ hg log -v --style default > style.out
146 $ hg log -v --style default > style.out
147 $ cmp log.out style.out || diff -u log.out style.out
147 $ cmp log.out style.out || diff -u log.out style.out
148 $ hg log -v -T phases > phases.out
148 $ hg log -v -T phases > phases.out
149 $ diff -U 0 log.out phases.out | grep -v '^---\|^+++'
149 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
150 @@ -2,0 +3 @@
150 @@ -2,0 +3 @@
151 +phase: draft
151 +phase: draft
152 @@ -7,0 +9 @@
152 @@ -7,0 +9 @@
@@ -212,7 +212,7 b' Default style should also preserve color'
212 $ hg --color=debug log --style default > style.out
212 $ hg --color=debug log --style default > style.out
213 $ cmp log.out style.out || diff -u log.out style.out
213 $ cmp log.out style.out || diff -u log.out style.out
214 $ hg --color=debug log -T phases > phases.out
214 $ hg --color=debug log -T phases > phases.out
215 $ diff -U 0 log.out phases.out | grep -v '^---\|^+++'
215 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
216 @@ -2,0 +3 @@
216 @@ -2,0 +3 @@
217 +[log.phase|phase: draft]
217 +[log.phase|phase: draft]
218 @@ -6,0 +8 @@
218 @@ -6,0 +8 @@
@@ -238,7 +238,7 b' Default style should also preserve color'
238 $ hg --color=debug -v log --style default > style.out
238 $ hg --color=debug -v log --style default > style.out
239 $ cmp log.out style.out || diff -u log.out style.out
239 $ cmp log.out style.out || diff -u log.out style.out
240 $ hg --color=debug -v log -T phases > phases.out
240 $ hg --color=debug -v log -T phases > phases.out
241 $ diff -U 0 log.out phases.out | grep -v '^---\|^+++'
241 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
242 @@ -2,0 +3 @@
242 @@ -2,0 +3 @@
243 +[log.phase|phase: draft]
243 +[log.phase|phase: draft]
244 @@ -7,0 +9 @@
244 @@ -7,0 +9 @@
General Comments 0
You need to be logged in to leave comments. Login now