equal
deleted
inserted
replaced
22 echo % $1 allowed should give 200 |
22 echo % $1 allowed should give 200 |
23 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$2" | head -n 1 |
23 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$2" | head -n 1 |
24 echo % $3 and $4 disallowed should both give 403 |
24 echo % $3 and $4 disallowed should both give 403 |
25 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$3" | head -n 1 |
25 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$3" | head -n 1 |
26 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$4" | head -n 1 |
26 "$TESTDIR/get-with-headers.py" localhost:$HGPORT "/archive/tip.$4" | head -n 1 |
27 kill `cat hg.pid` |
27 "$TESTDIR/killdaemons.py" |
28 cat errors.log |
28 cat errors.log |
29 cp .hg/hgrc-base .hg/hgrc |
29 cp .hg/hgrc-base .hg/hgrc |
30 } |
30 } |
31 |
31 |
32 echo |
32 echo |
60 EOF |
60 EOF |
61 http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - | sed "s/$QTIP/TIP/" |
61 http_proxy= python getarchive.py "$TIP" gz | gunzip | tar tf - | sed "s/$QTIP/TIP/" |
62 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - | sed "s/$QTIP/TIP/" |
62 http_proxy= python getarchive.py "$TIP" bz2 | bunzip2 | tar tf - | sed "s/$QTIP/TIP/" |
63 http_proxy= python getarchive.py "$TIP" zip > archive.zip |
63 http_proxy= python getarchive.py "$TIP" zip > archive.zip |
64 unzip -t archive.zip | sed "s/$QTIP/TIP/" |
64 unzip -t archive.zip | sed "s/$QTIP/TIP/" |
|
65 |
|
66 "$TESTDIR/killdaemons.py" |
65 |
67 |
66 hg archive -t tar test.tar |
68 hg archive -t tar test.tar |
67 tar tf test.tar |
69 tar tf test.tar |
68 |
70 |
69 hg archive -t tbz2 -X baz test.tar.bz2 |
71 hg archive -t tbz2 -X baz test.tar.bz2 |