tests: fix unzip -l variability stable
authorMatt Mackall <mpm@selenic.com>
Wed, 22 Sep 2010 17:13:49 -0500
branchstable
changeset 12379 6aa2c86db2eb
parent 12378 ab237534d800
child 12380 1e2625fe371b
child 12381 5965f369314b
tests: fix unzip -l variability
tests/test-archive
tests/test-archive.out
--- a/tests/test-archive	Wed Sep 22 23:51:10 2010 +0200
+++ b/tests/test-archive	Wed Sep 22 17:13:49 2010 -0500
@@ -145,6 +145,6 @@
 hg add old
 hg commit -m old
 hg archive ../old.zip
-unzip -l ../old.zip
+unzip -l ../old.zip | grep 80 && echo ok
 
 exit 0
--- a/tests/test-archive.out	Wed Sep 22 23:51:10 2010 +0200
+++ b/tests/test-archive.out	Wed Sep 22 17:13:49 2010 -0500
@@ -81,10 +81,6 @@
 % empty repo
 abort: no working directory: please specify a revision
 % old file -- date clamped to 1980
-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
+ok