tests/test-keyword
changeset 202 e2a2f9ca8271
parent 189 247159261ba5
child 208 5afdcec8a01f
--- a/tests/test-keyword	Thu Jul 19 03:43:20 2007 +0200
+++ b/tests/test-keyword	Thu Jul 19 04:07:20 2007 +0200
@@ -9,7 +9,8 @@
 EOF
 
 echo % help
-hg help keyword
+hg help keyword \
+| sed -e '/^list of commands:/d' -e '/hg -v help keyword/d' -e '/^$/d'
 
 echo % hg kwdemo
 hg --quiet kwdemo --default \
@@ -115,7 +116,7 @@
 EOF
 echo % incoming
 # remove path to temp dir
-hg incoming | sed -e 's/^\(comparing with \).*\(test-keyword.*\)/\1\2/'
+hg incoming | sed -e '/^comparing with/d'
 
 echo % switch off expansion
 cd ../Test