diff tests/test-archive @ 1932:82995896d5af

Merge with http://hg.home.dataloss.nl/hg-portabletests
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 13 Mar 2006 12:22:55 +0100
parents 85daa4e03b4c
children 98cc126f9f3f
line wrap: on
line diff
--- a/tests/test-archive
+++ b/tests/test-archive
@@ -29,9 +29,10 @@ f = urllib2.urlopen('http://127.0.0.1:20
                     % (node, archive))
 sys.stdout.write(f.read())
 EOF
-http_proxy= python getarchive.py "$TIP" gz | tar tzf - | sed "s/$QTIP/TIP/"
-http_proxy= python getarchive.py "$TIP" bz2 | tar tjf - | sed "s/$QTIP/TIP/"
+http_proxy= python getarchive.py "$TIP" gz | gunzip -dc - | tar tf - | sed "s/$QTIP/TIP/"
+http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 -dc - | tar tf - | sed "s/$QTIP/TIP/"
 http_proxy= python getarchive.py "$TIP" zip > archive.zip
 unzip -t archive.zip | sed "s/$QTIP/TIP/"
 
 kill `cat hg.pid`
+sleep 1 # wait for server to scream and die