tests/test-archive
changeset 8145 0c2ba48415c8
parent 7344 58fd3c718ca4
child 8296 908c5906091b
--- a/tests/test-archive	Thu Apr 23 15:40:10 2009 -0500
+++ b/tests/test-archive	Thu Apr 23 15:40:10 2009 -0500
@@ -58,8 +58,8 @@
                     % (os.environ['HGPORT'], node, archive))
 sys.stdout.write(f.read())
 EOF
-http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - | sed "s/$QTIP/TIP/"
-http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - | sed "s/$QTIP/TIP/"
+http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
+http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
 http_proxy= python getarchive.py "$TIP" zip > archive.zip
 unzip -t archive.zip | sed "s/$QTIP/TIP/"
 
@@ -69,10 +69,10 @@
 tar tf test.tar
 
 hg archive -t tbz2 -X baz test.tar.bz2
-bunzip2 -dc test.tar.bz2 | tar tf -
+bunzip2 -dc test.tar.bz2 | tar tf - 2>/dev/null
 
 hg archive -t tgz -p %b-%h test-%h.tar.gz
-gzip -dc test-$QTIP.tar.gz | tar tf - | sed "s/$QTIP/TIP/"
+gzip -dc test-$QTIP.tar.gz | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
 
 cat > md5comp.py <<EOF
 from mercurial.util import md5
@@ -98,7 +98,7 @@
 hg archive --config ui.archivemeta=false -t zip -r 2 test.zip
 unzip -t test.zip
 
-hg archive -t tar - | tar tf - | sed "s/$QTIP/TIP/"
+hg archive -t tar - | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
 
 hg archive -r 0 -t tar rev-%r.tar
 if [ -f rev-0.tar ]; then