tests: support older version of bunzip2 and, possibly, gunzip too
authorTK Soh <teekaysoh@yahoo.com>
Wed, 03 May 2006 11:25:36 +0200
changeset 2187 09d3eebdd9b2
parent 2186 1092533fd11c
child 2188 62ae3d140185
tests: support older version of bunzip2 and, possibly, gunzip too
tests/test-archive
--- 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/"