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 > "$TESTDIR/killdaemons.py" |
27 > "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
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 check http return codes |
32 check http return codes |
91 testing: test-archive-2c0277f05ed4/bar OK |
91 testing: test-archive-2c0277f05ed4/bar OK |
92 testing: test-archive-2c0277f05ed4/baz/bletch OK |
92 testing: test-archive-2c0277f05ed4/baz/bletch OK |
93 testing: test-archive-2c0277f05ed4/foo OK |
93 testing: test-archive-2c0277f05ed4/foo OK |
94 No errors detected in compressed data of archive.zip. |
94 No errors detected in compressed data of archive.zip. |
95 |
95 |
96 $ "$TESTDIR/killdaemons.py" |
96 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS |
97 |
97 |
98 $ hg archive -t tar test.tar |
98 $ hg archive -t tar test.tar |
99 $ tar tf test.tar |
99 $ tar tf test.tar |
100 test/.hg_archival.txt |
100 test/.hg_archival.txt |
101 test/bar |
101 test/bar |