diff -r e55e3f6c6608 -r d7ddb4e378f3 tests/test-keyword --- a/tests/test-keyword Fri Jul 27 10:34:48 2007 +0200 +++ b/tests/test-keyword Mon Jul 30 08:22:01 2007 +0100 @@ -9,9 +9,9 @@ EOF echo % help -# sed for backwards compatibility +# grep for backwards compatibility hg help keyword \ -| sed -e '/^list of commands/d' -e '/hg -v help keyword/d' -e '/^$/d' +| grep -E -v '^list of commands|hg -v help keyword|^$' echo % hg kwdemo hg --quiet kwdemo --default \ @@ -96,8 +96,8 @@ EOF echo % interrupted commit -# redirection and sed for backwards compatibility -HGEDITOR=false hg commit 2>&1 | sed -e '/edit failed:/d' +# redirection and grep for backwards compatibility +HGEDITOR=false hg commit 2>&1 | grep -F -v 'edit failed:' echo % status hg status @@ -136,7 +136,7 @@ EOF echo % incoming # remove path to temp dir for backwards compatibility -hg incoming | sed -e '/^comparing with/d' +hg incoming | grep -v '^comparing with' echo % switch off expansion cd ../Test