# HG changeset patch # User TK Soh # Date 1146648336 -7200 # Node ID 09d3eebdd9b2e0a2c13f0e4825dbe0f8a163247e # Parent 1092533fd11c228dddce2a49ac245e0db8948009 tests: support older version of bunzip2 and, possibly, gunzip too diff --git a/tests/test-archive b/tests/test-archive --- a/tests/test-archive +++ b/tests/test-archive @@ -29,8 +29,8 @@ f = urllib2.urlopen('http://127.0.0.1:20 % (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/"