changeset 12381:5965f369314b stable

tests: fix unzip -l variability fix 01-01-1980 slipped through the grep.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 23 Sep 2010 01:51:17 +0200
parents 6aa2c86db2eb
children 28ddf67198b2
files tests/test-archive tests/test-archive.out
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-archive	Wed Sep 22 17:13:49 2010 -0500
+++ b/tests/test-archive	Thu Sep 23 01:51:17 2010 +0200
@@ -145,6 +145,6 @@
 hg add old
 hg commit -m old
 hg archive ../old.zip
-unzip -l ../old.zip | grep 80 && echo ok
+unzip -l ../old.zip | grep 80 > /dev/null && echo ok
 
 exit 0
--- a/tests/test-archive.out	Wed Sep 22 17:13:49 2010 -0500
+++ b/tests/test-archive.out	Thu Sep 23 01:51:17 2010 +0200
@@ -81,6 +81,4 @@
 % empty repo
 abort: no working directory: please specify a revision
 % old file -- date clamped to 1980
-      147  1980-01-01 00:00   old/.hg_archival.txt
-        0  1980-01-01 00:00   old/old
 ok