Mercurial > hg-stable
comparison tests/test-patchbomb.t @ 39723:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | d7007b807fa2 |
children | 55fcdb73c88b |
comparison
equal
deleted
inserted
replaced
39722:030d558c6456 | 39723:5abc47d4ca6b |
---|---|
440 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti | 440 Epm7xF/LT+RLx/a9juFTomaYO/Rgsx4rwBN+IMCUDLOKAQBrsmti |
441 (?) | 441 (?) |
442 --===============*==-- (glob) | 442 --===============*==-- (glob) |
443 | 443 |
444 utf-8 patch: | 444 utf-8 patch: |
445 $ $PYTHON -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();' | 445 $ "$PYTHON" -c 'fp = open("utf", "wb"); fp.write(b"h\xC3\xB6mma!\n"); fp.close();' |
446 $ hg commit -A -d '4 0' -m 'utf-8 content' | 446 $ hg commit -A -d '4 0' -m 'utf-8 content' |
447 adding description | 447 adding description |
448 adding utf | 448 adding utf |
449 | 449 |
450 no mime encoding for email --test: | 450 no mime encoding for email --test: |
556 +h\xc3\xb6mma! (esc) | 556 +h\xc3\xb6mma! (esc) |
557 | 557 |
558 $ rm mbox | 558 $ rm mbox |
559 | 559 |
560 mime encoded mbox (quoted-printable): | 560 mime encoded mbox (quoted-printable): |
561 $ $PYTHON -c 'fp = open("long", "wb"); fp.write(b"%s\nfoo\n\nbar\n" % (b"x" * 1024)); fp.close();' | 561 $ "$PYTHON" -c 'fp = open("long", "wb"); fp.write(b"%s\nfoo\n\nbar\n" % (b"x" * 1024)); fp.close();' |
562 $ hg commit -A -d '4 0' -m 'long line' | 562 $ hg commit -A -d '4 0' -m 'long line' |
563 adding long | 563 adding long |
564 | 564 |
565 no mime encoding for email --test: | 565 no mime encoding for email --test: |
566 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n | 566 $ hg email --date '1970-1-1 0:4' -f quux -t foo -c bar -r tip -n |
670 | 670 |
671 | 671 |
672 $ rm mbox | 672 $ rm mbox |
673 | 673 |
674 iso-8859-1 patch: | 674 iso-8859-1 patch: |
675 $ $PYTHON -c 'fp = open("isolatin", "wb"); fp.write(b"h\xF6mma!\n"); fp.close();' | 675 $ "$PYTHON" -c 'fp = open("isolatin", "wb"); fp.write(b"h\xF6mma!\n"); fp.close();' |
676 $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' | 676 $ hg commit -A -d '5 0' -m 'isolatin 8-bit encoding' |
677 adding isolatin | 677 adding isolatin |
678 | 678 |
679 iso-8859-1 mbox: | 679 iso-8859-1 mbox: |
680 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox | 680 $ hg email --date '1970-1-1 0:5' -f quux -t foo -c bar -r tip -m mbox |