##// END OF EJS Templates
Fix bashism and remove useless use of cat.
Thomas Arendsen Hein -
r5027:17d71a79 default
parent child Browse files
Show More
@@ -342,7 +342,7 b' echo % create a git patch'
342 echo a > alexander
342 echo a > alexander
343 hg add alexander
343 hg add alexander
344 hg qnew -f --git addalexander
344 hg qnew -f --git addalexander
345 cat .hg/patches/addalexander | grep diff
345 grep diff .hg/patches/addalexander
346
346
347 echo % create a git binary patch
347 echo % create a git binary patch
348 cat > writebin.py <<EOF
348 cat > writebin.py <<EOF
@@ -355,11 +355,11 b' python writebin.py bucephalus'
355 python "$TESTDIR/md5sum.py" bucephalus
355 python "$TESTDIR/md5sum.py" bucephalus
356 hg add bucephalus
356 hg add bucephalus
357 hg qnew -f --git addbucephalus
357 hg qnew -f --git addbucephalus
358 cat .hg/patches/addbucephalus | grep diff
358 grep diff .hg/patches/addbucephalus
359
359
360 echo % check binary patches can be popped and pushed
360 echo % check binary patches can be popped and pushed
361 hg qpop
361 hg qpop
362 ! test -f bucephalus || echo % bucephalus should not be there
362 test -f bucephalus && echo % bucephalus should not be there
363 hg qpush
363 hg qpush
364 test -f bucephalus || echo % bucephalus should be there
364 test -f bucephalus || echo % bucephalus should be there
365 python "$TESTDIR/md5sum.py" bucephalus
365 python "$TESTDIR/md5sum.py" bucephalus
General Comments 0
You need to be logged in to leave comments. Login now