Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-archive @ 1925:c71420b186b0
small solaris portability fixes from John Levon <levon@movementarian.org>
author | Peter van Dijk <peter@dataloss.nl> |
---|---|
date | Wed, 22 Feb 2006 15:42:48 +0100 |
parents | 7d83a351a936 |
children | 85daa4e03b4c |
comparison
equal
deleted
inserted
replaced
1924:46fb38ef9a91 | 1925:c71420b186b0 |
---|---|
28 node, archive = sys.argv[1:] | 28 node, archive = sys.argv[1:] |
29 f = urllib2.urlopen('http://127.0.0.1:20059/?cmd=archive;node=%s;type=%s' | 29 f = urllib2.urlopen('http://127.0.0.1:20059/?cmd=archive;node=%s;type=%s' |
30 % (node, archive)) | 30 % (node, archive)) |
31 sys.stdout.write(f.read()) | 31 sys.stdout.write(f.read()) |
32 EOF | 32 EOF |
33 http_proxy= python getarchive.py "$TIP" gz | tar tzf - | sed "s/$QTIP/TIP/" | 33 http_proxy= python getarchive.py "$TIP" gz | gunzip -dc - | tar tf - | sed "s/$QTIP/TIP/" |
34 http_proxy= python getarchive.py "$TIP" bz2 | tar tjf - | sed "s/$QTIP/TIP/" | 34 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 -dc - | tar tf - | sed "s/$QTIP/TIP/" |
35 http_proxy= python getarchive.py "$TIP" zip > archive.zip | 35 http_proxy= python getarchive.py "$TIP" zip > archive.zip |
36 unzip -t archive.zip | sed "s/$QTIP/TIP/" | 36 unzip -t archive.zip | sed "s/$QTIP/TIP/" |
37 | 37 |
38 kill $! | 38 kill $! |
39 sleep 1 # wait for server to scream and die | 39 sleep 1 # wait for server to scream and die |