##// 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 342 echo a > alexander
343 343 hg add alexander
344 344 hg qnew -f --git addalexander
345 cat .hg/patches/addalexander | grep diff
345 grep diff .hg/patches/addalexander
346 346
347 347 echo % create a git binary patch
348 348 cat > writebin.py <<EOF
@@ -355,11 +355,11 b' python writebin.py bucephalus'
355 355 python "$TESTDIR/md5sum.py" bucephalus
356 356 hg add bucephalus
357 357 hg qnew -f --git addbucephalus
358 cat .hg/patches/addbucephalus | grep diff
358 grep diff .hg/patches/addbucephalus
359 359
360 360 echo % check binary patches can be popped and pushed
361 361 hg qpop
362 ! test -f bucephalus || echo % bucephalus should not be there
362 test -f bucephalus && echo % bucephalus should not be there
363 363 hg qpush
364 364 test -f bucephalus || echo % bucephalus should be there
365 365 python "$TESTDIR/md5sum.py" bucephalus
General Comments 0
You need to be logged in to leave comments. Login now