Patchwork [Bug,4660] New: test-subrepo-recursion.t failure (different date format in unzip -l)

login
register
mail settings
Submitter mercurial-bugs@selenic.com
Date May 10, 2015, 4:43 a.m.
Message ID <bug-4660-285@http.bz.selenic.com/>
Download mbox | patch
Permalink /patch/9001/
State Not Applicable
Headers show

Comments

mercurial-bugs@selenic.com - May 10, 2015, 4:43 a.m.
http://bz.selenic.com/show_bug.cgi?id=4660

          Priority: normal
            Bug ID: 4660
                CC: mercurial-devel@selenic.com
          Assignee: bugzilla@selenic.com
           Summary: test-subrepo-recursion.t failure (different date
                    format in unzip -l)
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: engored@ya.ru
          Hardware: PC
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial


ERROR: test-subrepo-recursion.t output changed

This is on 17ba4ccd20b4. From command line unzip -l always produces dates in
this format, even with LC_ALL=C. I'm on debian and unzip package is version
6.0-16, unzip --version says "UnZip 6.00 of 20 April 2009, by Debian. Original
by Info-ZIP."

One other usage of unzip -l is in test-archive.t, and it works for me, as it
has a lot of glob and re matching.

Patch

--- /tmp/hgtests1/tests/test-subrepo-recursion.t
+++ /tmp/hgtests1/tests/test-subrepo-recursion.t.err
@@ -343,14 +343,14 @@ 
   Archive:  ../archive.zip
     Length      Date    Time    Name
   ---------  ---------- -----   ----
-        172  01-01-1980 00:00   .hg_archival.txt
-         10  01-01-1980 00:00   .hgsub
-         45  01-01-1980 00:00   .hgsubstate
-          3  01-01-1980 00:00   x.txt
-         10  01-01-1980 00:00   foo/.hgsub
-         45  01-01-1980 00:00   foo/.hgsubstate
-          9  01-01-1980 00:00   foo/y.txt
-          9  01-01-1980 00:00   foo/bar/z.txt
+        172  1980-01-01 00:00   .hg_archival.txt
+         10  1980-01-01 00:00   .hgsub
+         45  1980-01-01 00:00   .hgsubstate
+          3  1980-01-01 00:00   x.txt
+         10  1980-01-01 00:00   foo/.hgsub
+         45  1980-01-01 00:00   foo/.hgsubstate
+          9  1980-01-01 00:00   foo/y.txt
+          9  1980-01-01 00:00   foo/bar/z.txt
   ---------                     -------
         303                     8 files