Show More
@@ -16,9 +16,11 b'' | |||||
16 | > hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
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 | > hg --cwd ../test2 push http://localhost:$HGPORT/ |
|
18 | > hg --cwd ../test2 push http://localhost:$HGPORT/ | |
|
19 | > exitstatus=$? | |||
19 |
|
|
20 | > "$TESTDIR/killdaemons.py" | |
20 |
> echo % serve |
|
21 | > echo % serve errors | |
21 | > cat errors.log |
|
22 | > cat errors.log | |
|
23 | > return $exitstatus | |||
22 | > } |
|
24 | > } | |
23 | $ cd ../test |
|
25 | $ cd ../test | |
24 |
|
26 | |||
@@ -31,6 +33,7 b' expect ssl error' | |||||
31 | remote: ssl required |
|
33 | remote: ssl required | |
32 | updating cb9a9f314b8b to public failed! |
|
34 | updating cb9a9f314b8b to public failed! | |
33 | % serve errors |
|
35 | % serve errors | |
|
36 | [1] | |||
34 |
|
37 | |||
35 | expect authorization error |
|
38 | expect authorization error | |
36 |
|
39 | |||
@@ -41,6 +44,7 b' expect authorization error' | |||||
41 | searching for changes |
|
44 | searching for changes | |
42 | abort: authorization failed |
|
45 | abort: authorization failed | |
43 | % serve errors |
|
46 | % serve errors | |
|
47 | [255] | |||
44 |
|
48 | |||
45 | expect authorization error: must have authorized user |
|
49 | expect authorization error: must have authorized user | |
46 |
|
50 | |||
@@ -50,6 +54,7 b' expect authorization error: must have au' | |||||
50 | searching for changes |
|
54 | searching for changes | |
51 | abort: authorization failed |
|
55 | abort: authorization failed | |
52 | % serve errors |
|
56 | % serve errors | |
|
57 | [255] | |||
53 |
|
58 | |||
54 | expect success |
|
59 | expect success | |
55 |
|
60 | |||
@@ -110,6 +115,7 b' expect authorization error: all users de' | |||||
110 | searching for changes |
|
115 | searching for changes | |
111 | abort: authorization failed |
|
116 | abort: authorization failed | |
112 | % serve errors |
|
117 | % serve errors | |
|
118 | [255] | |||
113 |
|
119 | |||
114 | expect authorization error: some users denied, users must be authenticated |
|
120 | expect authorization error: some users denied, users must be authenticated | |
115 |
|
121 | |||
@@ -119,5 +125,6 b' expect authorization error: some users d' | |||||
119 | searching for changes |
|
125 | searching for changes | |
120 | abort: authorization failed |
|
126 | abort: authorization failed | |
121 | % serve errors |
|
127 | % serve errors | |
|
128 | [255] | |||
122 |
|
129 | |||
123 | $ cd .. |
|
130 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now