Show More
@@ -13,7 +13,7 b" hg commit -Am 3 -d '1000000000 0'" | |||||
13 | echo "[web]" >> .hg/hgrc |
|
13 | echo "[web]" >> .hg/hgrc | |
14 | echo "name = test-archive" >> .hg/hgrc |
|
14 | echo "name = test-archive" >> .hg/hgrc | |
15 | echo "allow_archive = gz bz2, zip" >> .hg/hgrc |
|
15 | echo "allow_archive = gz bz2, zip" >> .hg/hgrc | |
16 | hg serve -p $HGPORT -d --pid-file=hg.pid |
|
16 | hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log | |
17 | cat hg.pid >> $DAEMON_PIDS |
|
17 | cat hg.pid >> $DAEMON_PIDS | |
18 |
|
18 | |||
19 | TIP=`hg id -v | cut -f1 -d' '` |
|
19 | TIP=`hg id -v | cut -f1 -d' '` | |
@@ -69,8 +69,12 b' if [ -f rev-0.tar ]; then' | |||||
69 | echo 'rev-0.tar created' |
|
69 | echo 'rev-0.tar created' | |
70 | fi |
|
70 | fi | |
71 |
|
71 | |||
|
72 | echo % server errors | |||
|
73 | cat errors.log | |||
|
74 | ||||
72 | echo '% empty repo' |
|
75 | echo '% empty repo' | |
73 | hg init ../empty |
|
76 | hg init ../empty | |
74 | cd ../empty |
|
77 | cd ../empty | |
75 | hg archive ../test-empty |
|
78 | hg archive ../test-empty | |
|
79 | ||||
76 | exit 0 |
|
80 | exit 0 |
@@ -39,5 +39,6 b' test-TIP/bar' | |||||
39 | test-TIP/baz/bletch |
|
39 | test-TIP/baz/bletch | |
40 | test-TIP/foo |
|
40 | test-TIP/foo | |
41 | rev-0.tar created |
|
41 | rev-0.tar created | |
|
42 | % server errors | |||
42 | % empty repo |
|
43 | % empty repo | |
43 | abort: repository has no revisions |
|
44 | abort: repository has no revisions |
@@ -7,7 +7,7 b' mkdir da' | |||||
7 | echo foo > da/foo |
|
7 | echo foo > da/foo | |
8 | echo foo > foo |
|
8 | echo foo > foo | |
9 | hg ci -Ambase -d '0 0' |
|
9 | hg ci -Ambase -d '0 0' | |
10 | hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log |
|
10 | hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
11 | cat hg.pid >> $DAEMON_PIDS |
|
11 | cat hg.pid >> $DAEMON_PIDS | |
12 | echo % manifest |
|
12 | echo % manifest | |
13 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw') |
|
13 | ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw') | |
@@ -37,3 +37,6 b' python -c "print len(file(\'access.log\').' | |||||
37 |
|
37 | |||
38 | echo % static file |
|
38 | echo % static file | |
39 | "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/static/style-gitweb.css' |
|
39 | "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/static/style-gitweb.css' | |
|
40 | ||||
|
41 | echo % errors | |||
|
42 | cat errors.log |
General Comments 0
You need to be logged in to leave comments.
Login now