##// END OF EJS Templates
tests: work around differing hunk headers between GNU and Solaris diff...
Danek Duvall -
r25862:7316a284 stable
parent child Browse files
Show More
@@ -120,52 +120,32 b' as default style, except for extra phase'
120 120 $ hg log --style default > style.out
121 121 $ cmp log.out style.out || diff -u log.out style.out
122 122 $ hg log -T phases > phases.out
123 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
124 @@ -2,0 +3 @@
123 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@'
125 124 +phase: draft
126 @@ -6,0 +8 @@
127 125 +phase: draft
128 @@ -11,0 +14 @@
129 126 +phase: draft
130 @@ -17,0 +21 @@
131 127 +phase: draft
132 @@ -24,0 +29 @@
133 128 +phase: draft
134 @@ -31,0 +37 @@
135 129 +phase: draft
136 @@ -36,0 +43 @@
137 130 +phase: draft
138 @@ -41,0 +49 @@
139 131 +phase: draft
140 @@ -46,0 +55 @@
141 132 +phase: draft
142 @@ -51,0 +61 @@
143 133 +phase: draft
144 134
145 135 $ hg log -v > log.out
146 136 $ hg log -v --style default > style.out
147 137 $ cmp log.out style.out || diff -u log.out style.out
148 138 $ hg log -v -T phases > phases.out
149 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
150 @@ -2,0 +3 @@
139 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@'
151 140 +phase: draft
152 @@ -7,0 +9 @@
153 141 +phase: draft
154 @@ -15,0 +18 @@
155 142 +phase: draft
156 @@ -24,0 +28 @@
157 143 +phase: draft
158 @@ -33,0 +38 @@
159 144 +phase: draft
160 @@ -43,0 +49 @@
161 145 +phase: draft
162 @@ -50,0 +57 @@
163 146 +phase: draft
164 @@ -58,0 +66 @@
165 147 +phase: draft
166 @@ -66,0 +75 @@
167 148 +phase: draft
168 @@ -77,0 +87 @@
169 149 +phase: draft
170 150
171 151 $ hg log -q > log.out
@@ -212,52 +192,32 b' Default style should also preserve color'
212 192 $ hg --color=debug log --style default > style.out
213 193 $ cmp log.out style.out || diff -u log.out style.out
214 194 $ hg --color=debug log -T phases > phases.out
215 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
216 @@ -2,0 +3 @@
195 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@'
217 196 +[log.phase|phase: draft]
218 @@ -6,0 +8 @@
219 197 +[log.phase|phase: draft]
220 @@ -11,0 +14 @@
221 198 +[log.phase|phase: draft]
222 @@ -17,0 +21 @@
223 199 +[log.phase|phase: draft]
224 @@ -24,0 +29 @@
225 200 +[log.phase|phase: draft]
226 @@ -31,0 +37 @@
227 201 +[log.phase|phase: draft]
228 @@ -36,0 +43 @@
229 202 +[log.phase|phase: draft]
230 @@ -41,0 +49 @@
231 203 +[log.phase|phase: draft]
232 @@ -46,0 +55 @@
233 204 +[log.phase|phase: draft]
234 @@ -51,0 +61 @@
235 205 +[log.phase|phase: draft]
236 206
237 207 $ hg --color=debug -v log > log.out
238 208 $ hg --color=debug -v log --style default > style.out
239 209 $ cmp log.out style.out || diff -u log.out style.out
240 210 $ hg --color=debug -v log -T phases > phases.out
241 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+'
242 @@ -2,0 +3 @@
211 $ diff -U 0 log.out phases.out | egrep -v '^---|^\+\+\+|^@@'
243 212 +[log.phase|phase: draft]
244 @@ -7,0 +9 @@
245 213 +[log.phase|phase: draft]
246 @@ -15,0 +18 @@
247 214 +[log.phase|phase: draft]
248 @@ -24,0 +28 @@
249 215 +[log.phase|phase: draft]
250 @@ -33,0 +38 @@
251 216 +[log.phase|phase: draft]
252 @@ -43,0 +49 @@
253 217 +[log.phase|phase: draft]
254 @@ -50,0 +57 @@
255 218 +[log.phase|phase: draft]
256 @@ -58,0 +66 @@
257 219 +[log.phase|phase: draft]
258 @@ -66,0 +75 @@
259 220 +[log.phase|phase: draft]
260 @@ -77,0 +87 @@
261 221 +[log.phase|phase: draft]
262 222
263 223 $ hg --color=debug -q log > log.out
General Comments 0
You need to be logged in to leave comments. Login now