diff tests/test-archive @ 2187:09d3eebdd9b2

tests: support older version of bunzip2 and, possibly, gunzip too
author TK Soh <teekaysoh@yahoo.com>
date Wed, 03 May 2006 11:25:36 +0200
parents 98cc126f9f3f
children 0f7e4a39d9af
line wrap: on
line diff
--- a/tests/test-archive	Wed May 03 11:25:25 2006 +0200
+++ b/tests/test-archive	Wed May 03 11:25:36 2006 +0200
@@ -29,8 +29,8 @@
                     % (node, archive))
 sys.stdout.write(f.read())
 EOF
-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" 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" zip > archive.zip
 unzip -t archive.zip | sed "s/$QTIP/TIP/"