tests/test-archive
changeset 2114 98cc126f9f3f
parent 1929 85daa4e03b4c
child 2187 09d3eebdd9b2
equal deleted inserted replaced
2113:633d733e7b11 2114:98cc126f9f3f
    34 http_proxy= python getarchive.py "$TIP" zip > archive.zip
    34 http_proxy= python getarchive.py "$TIP" zip > archive.zip
    35 unzip -t archive.zip | sed "s/$QTIP/TIP/"
    35 unzip -t archive.zip | sed "s/$QTIP/TIP/"
    36 
    36 
    37 kill `cat hg.pid`
    37 kill `cat hg.pid`
    38 sleep 1 # wait for server to scream and die
    38 sleep 1 # wait for server to scream and die
       
    39 
       
    40 hg archive -t tar test.tar
       
    41 tar tf test.tar
       
    42 
       
    43 hg archive -t tbz2 -X baz test.tar.bz2
       
    44 bunzip2 -dc test.tar.bz2 | tar tf -
       
    45 
       
    46 hg archive -t tgz -p %b-%h test-%h.tar.gz
       
    47 gzip -dc test-$QTIP.tar.gz | tar tf - | sed "s/$QTIP/TIP/"
       
    48 
       
    49 hg archive -t zip -p /illegal test.zip
       
    50 hg archive -t zip -p very/../bad test.zip
       
    51 
       
    52 hg archive -t zip -r 2 test.zip
       
    53 unzip -t test.zip