Patchwork [Bug,5642] New: Test file test-largefiles.t broken with Pypy 5.6.0

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date July 31, 2017, 4:03 p.m.
Message ID <bug-5642-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/22589/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - July 31, 2017, 4:03 p.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=5642

            Bug ID: 5642
           Summary: Test file test-largefiles.t broken with Pypy 5.6.0
           Product: Mercurial
           Version: 4.3-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: lothiraldan@gmail.com
                CC: mercurial-devel@mercurial-scm.org

I tried running the Mercurial tests with latest Ubuntu version of Pypy:

Python 2.7.12 (5.6.0+dfsg-4, Nov 20 2016, 17:17:18)
[PyPy 5.6.0 with GCC 6.2.1 20161119]

I get these errors for the test file tests/test-progress.t, I take a look at
them but don't know where to start unfortunately.

Patch

diff -r 81fd0964f189 -r 7bec4def322f tests/test-progress.t
--- a/tests/test-progress.t     Thu Jul 27 10:54:11 2017 +0200
+++ b/tests/test-progress.t     Thu Jul 27 10:54:34 2017 +0200
@@ -331,9 +331,9 @@ 

   $ hg --encoding utf-8 -y loop --total 3 3
   \r (no-eol) (esc)
-  \xe3\x81\x82\xe3\x81\x84  \r (no-eol) (esc)
-  \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
-  \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
+  loop.0\r (no-eol) (esc)
+  loop.1\r (no-eol) (esc)
+  loop.2\r (no-eol) (esc)
                        \r (no-eol) (esc)

   $ cat >> $HGRCPATH <<EOF
@@ -344,7 +344,7 @@ 

   $ hg --encoding utf-8 -y loop --total 3 3
   \r (no-eol) (esc)
-  \xe3\x81\x82\xe3\x81\x84  \r (no-eol) (esc)
-  \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\r (no-eol) (esc)
-  \xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\r (no-eol) (esc)
+  loop.0\r (no-eol) (esc)
+  loop.1\r (no-eol) (esc)
+  loop.2\r (no-eol) (esc)
                        \r (no-eol) (esc)