changeset 12379:6aa2c86db2eb stable

tests: fix unzip -l variability
author Matt Mackall <mpm@selenic.com>
date Wed, 22 Sep 2010 17:13:49 -0500
parents ab237534d800
children 1e2625fe371b 5965f369314b
files tests/test-archive tests/test-archive.out
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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