--- 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
--- 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: