tests/test-mq
changeset 5027 17d71a79a257
parent 5026 48ebd6a83994
child 5148 06154aff2b1a
--- a/tests/test-mq	Sat Jul 28 20:15:54 2007 +0200
+++ b/tests/test-mq	Sun Jul 29 18:53:09 2007 +0200
@@ -342,7 +342,7 @@
 echo a > alexander
 hg add alexander
 hg qnew -f --git addalexander
-cat .hg/patches/addalexander | grep diff
+grep diff .hg/patches/addalexander
 
 echo % create a git binary patch
 cat > writebin.py <<EOF
@@ -355,11 +355,11 @@
 python "$TESTDIR/md5sum.py" bucephalus
 hg add bucephalus
 hg qnew -f --git addbucephalus
-cat .hg/patches/addbucephalus | grep diff
+grep diff .hg/patches/addbucephalus
 
 echo % check binary patches can be popped and pushed
 hg qpop
-! test -f bucephalus || echo % bucephalus should not be there
+test -f bucephalus && echo % bucephalus should not be there
 hg qpush
 test -f bucephalus || echo % bucephalus should be there
 python "$TESTDIR/md5sum.py" bucephalus