test-keyword: use regular expressions instead of grepping
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Mon, 30 Aug 2010 13:15:30 +0900
changeset 12102 9aba4ceb654d
parent 12101 0096f21c01dc
child 12103 437579a0068a
test-keyword: use regular expressions instead of grepping
tests/test-bisect.t
tests/test-churn.t
tests/test-inherit-mode.t
tests/test-keyword.t
tests/test-remove-new.t
tests/test-remove.t
tests/test-rename.t
tests/test-strict.t
--- a/tests/test-keyword.t	Mon Aug 30 13:11:32 2010 +0900
+++ b/tests/test-keyword.t	Mon Aug 30 13:15:30 2010 +0900
@@ -331,9 +331,10 @@
 
 Diff remaining chunk
 
-  $ hg diff | grep -v 'b/a'
+  $ hg diff
   diff -r d17e03c92c97 a
   --- a/a	Wed Dec 31 23:59:51 1969 -0000
+  \+\+\+ b/a	.*
   @@ -2,3 +2,4 @@
    foo
    do not process $Id:
@@ -474,9 +475,10 @@
 
 Diff specific revision
 
-  $ hg diff --rev 1 | grep -v 'b/c'
+  $ hg diff --rev 1
   diff -r ef63ca68695b c
   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+  \+\+\+ b/c	.*
   @@ -0,0 +1,3 @@
   +expand $Id$
   +do not process $Id: