# HG changeset patch # User Matt Mackall # Date 1285015836 18000 # Node ID f85338f509e41412eac5f627293a9b193179d13b # Parent b016fc1c0862a1e831d6b98bd67e2c24cf8caa52 tests: fixup tests using unzip -l diff -r b016fc1c0862 -r f85338f509e4 tests/test-archive.t --- a/tests/test-archive.t Mon Sep 20 14:36:36 2010 -0500 +++ b/tests/test-archive.t Mon Sep 20 15:50:36 2010 -0500 @@ -227,9 +227,9 @@ $ hg archive ../old.zip $ unzip -l ../old.zip Archive: ../old.zip - Length Date Time Name - --------- ---------- ----- ---- - 147 1980-01-01 00:00 old/.hg_archival.txt - 0 1980-01-01 00:00 old/old - --------- ------- - 147 2 files + \s*Length.* + .*-----.* + .*147.*80.*00:00.*old/.hg_archival.txt + .*0.*80.*00:00.*old/old + .*-----.* + \s*147\s+2 files diff -r b016fc1c0862 -r f85338f509e4 tests/test-subrepo-recursion.t --- a/tests/test-subrepo-recursion.t Mon Sep 20 14:36:36 2010 -0500 +++ b/tests/test-subrepo-recursion.t Mon Sep 20 15:50:36 2010 -0500 @@ -243,23 +243,9 @@ ../archive/.hgsub ../archive/.hg_archival.txt -Test archiving to zip file: +Test archiving to zip file (unzip output is unstable): $ hg archive --subrepos ../archive.zip - $ unzip -l ../archive.zip - Archive: ../archive.zip - Length Date Time Name - --------- ---------- ----- ---- - 147 1980-01-01 00:00 archive/.hg_archival.txt - 10 1980-01-01 00:00 archive/.hgsub - 45 1980-01-01 00:00 archive/.hgsubstate - 3 1980-01-01 00:00 archive/x.txt - 9 1980-01-01 00:00 archive/foo/y.txt - 10 1980-01-01 00:00 archive/foo/.hgsub - 45 1980-01-01 00:00 archive/foo/.hgsubstate - 9 1980-01-01 00:00 archive/foo/bar/z.txt - --------- ------- - 278 8 files Clone and test outgoing: