[Bug 4188] New: test-patchbomb fails with recent Python 2.7
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Mar 5 01:34:45 CST 2014
http://bz.selenic.com/show_bug.cgi?id=4188
Priority: normal
Bug ID: 4188
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: test-patchbomb fails with recent Python 2.7
Severity: bug
Classification: Unclassified
OS: All
Reporter: Arfrever.FTA at GMail.Com
Hardware: All
Status: UNCONFIRMED
Version: 2.9.1
Component: patchbomb
Product: Mercurial
test-patchbomb fails with recent snapshot of Python 2.7 branch.
I use Mercurial 2.9.1.
# Test test-patchbomb.t
# Running sh
"/var/tmp/portage/dev-vcs/mercurial-2.9.1-r1000/temp/tests-2.7/temp/child2/test-patchbomb.t.sh"
# Ret was: 0
---
/var/tmp/portage/dev-vcs/mercurial-2.9.1-r1000/work/mercurial-2.9.1/tests/test-patchbomb.t
+++
/var/tmp/portage/dev-vcs/mercurial-2.9.1-r1000/work/mercurial-2.9.1/tests/test-patchbomb.t.err
@@ -233,6 +233,7 @@
sgVa2F19D1tx9+hgbAygLgQwaIqcDdgA4BjQgIiz/AEP72++llgDKhKducqodGE4B0ETqF3JFOFC
Q70eyNw=
--===*-- (glob)
+
utf-8 patch:
$ python -c 'fp = open("utf", "wb"); fp.write("h\xC3\xB6mma!\n");
fp.close();'
@@ -683,6 +684,7 @@
+c
--===*-- (glob)
+
test inline for single patch (quoted-printable):
@@ -739,6 +741,7 @@
+bar
--===*-- (glob)
+
test inline for multiple patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i \
@@ -797,21 +800,22 @@
+a
--===*-- (glob)
+
displaying [PATCH 2 of 3] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Content-Type: multipart/mixed;
boundary="===============0288421961552689010=="
MIME-Version: 1.0
Subject: [PATCH 2 of 3] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62 at localhost.localdomain>
+ In-Reply-To: <patchbomb.60 at localhost.localdomain>
+ References: <patchbomb.60 at localhost.localdomain>
+ User-Agent: Mercurial-patchbomb/2.9.1
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===============0288421961552689010==
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -831,22 +835,23 @@
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
+ --===============0288421961552689010==--
+
displaying [PATCH 3 of 3] long line ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Content-Type: multipart/mixed;
boundary="===============8185855685141786673=="
MIME-Version: 1.0
Subject: [PATCH 3 of 3] long line
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <a2ea8fc83dd8b93cfd86.63 at localhost.localdomain>
+ In-Reply-To: <patchbomb.60 at localhost.localdomain>
+ References: <patchbomb.60 at localhost.localdomain>
+ User-Agent: Mercurial-patchbomb/2.9.1
Date: Thu, 01 Jan 1970 00:01:03 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===============8185855685141786673==
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -882,7 +887,8 @@
+
+bar
- --===*-- (glob)
+ --===============8185855685141786673==--
+
test attach for single patch:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 2
@@ -931,6 +937,7 @@
+c
--===*-- (glob)
+
test attach for single patch (quoted-printable):
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a -r 4
@@ -995,6 +1002,7 @@
+bar
--===*-- (glob)
+
test attach and body for single patch:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a --body
-r 2
@@ -1053,6 +1061,7 @@
+c
--===*-- (glob)
+
test attach for multiple patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -a \
@@ -1120,21 +1129,22 @@
+a
--===*-- (glob)
+
displaying [PATCH 2 of 3] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Content-Type: multipart/mixed;
boundary="===============9208096539081791083=="
MIME-Version: 1.0
Subject: [PATCH 2 of 3] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62 at localhost.localdomain>
+ In-Reply-To: <patchbomb.60 at localhost.localdomain>
+ References: <patchbomb.60 at localhost.localdomain>
+ User-Agent: Mercurial-patchbomb/2.9.1
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===============9208096539081791083==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1143,7 +1153,7 @@
- --===* (glob)
+ --===============9208096539081791083==
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1163,22 +1173,23 @@
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
+ --===============9208096539081791083==--
+
displaying [PATCH 3 of 3] long line ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Content-Type: multipart/mixed;
boundary="===============8809298186783503591=="
MIME-Version: 1.0
Subject: [PATCH 3 of 3] long line
X-Mercurial-Node: a2ea8fc83dd8b93cfd86ac97b28287204ab806e1
- Message-Id: <a2ea8fc83dd8b93cfd86.63@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <a2ea8fc83dd8b93cfd86.63 at localhost.localdomain>
+ In-Reply-To: <patchbomb.60 at localhost.localdomain>
+ References: <patchbomb.60 at localhost.localdomain>
+ User-Agent: Mercurial-patchbomb/2.9.1
Date: Thu, 01 Jan 1970 00:01:03 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===============8809298186783503591==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1187,7 +1198,7 @@
- --===* (glob)
+ --===============8809298186783503591==
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
@@ -1223,7 +1234,8 @@
+
+bar
- --===*-- (glob)
+ --===============8809298186783503591==--
+
test intro for single patch:
$ hg email --date '1970-1-1 0:1' -n --intro -f quux -t foo -c bar -s test \
@@ -1522,6 +1534,7 @@
+c
--===*-- (glob)
+
test inline for multiple named/unnamed patches:
$ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar -s test -i -r 0:1
@@ -1579,21 +1592,22 @@
+a
--===*-- (glob)
+
displaying [PATCH 2 of 2] b ...
- Content-Type: multipart/mixed; boundary="===*" (glob)
+ Content-Type: multipart/mixed;
boundary="===============2913074621218225350=="
MIME-Version: 1.0
Subject: [PATCH 2 of 2] b
X-Mercurial-Node: 97d72e5f12c7e84f85064aa72e5a297142c36ed9
- Message-Id: <97d72e5f12c7e84f8506.62@*> (glob)
- In-Reply-To: <patchbomb.60@*> (glob)
- References: <patchbomb.60@*> (glob)
- User-Agent: Mercurial-patchbomb/* (glob)
+ Message-Id: <97d72e5f12c7e84f8506.62 at localhost.localdomain>
+ In-Reply-To: <patchbomb.60 at localhost.localdomain>
+ References: <patchbomb.60 at localhost.localdomain>
+ User-Agent: Mercurial-patchbomb/2.9.1
Date: Thu, 01 Jan 1970 00:01:02 +0000
From: quux
To: foo
Cc: bar
- --===* (glob)
+ --===============2913074621218225350==
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
@@ -1613,7 +1627,8 @@
@@ -0,0 +1,1 @@
+b
- --===*-- (glob)
+ --===============2913074621218225350==--
+
test inreplyto:
ERROR:
/var/tmp/portage/dev-vcs/mercurial-2.9.1-r1000/work/mercurial-2.9.1/tests/test-patchbomb.t
output changed
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list