Show More
@@ -1421,7 +1421,7 b' test listening address/port specified by' | |||||
1421 | > EOF |
|
1421 | > EOF | |
1422 | $ hg serve -d --pid-file=hg.pid --web-conf paths.conf \ |
|
1422 | $ hg serve -d --pid-file=hg.pid --web-conf paths.conf \ | |
1423 | > -A access-paths.log -E error-paths-9.log |
|
1423 | > -A access-paths.log -E error-paths-9.log | |
1424 | listening at http://*:$HGPORT1/ (bound to *$LOCALIP*:$HGPORT1) (glob) |
|
1424 | listening at http://*:$HGPORT1/ (bound to *$LOCALIP*:$HGPORT1) (glob) (?) | |
1425 | $ cat hg.pid >> $DAEMON_PIDS |
|
1425 | $ cat hg.pid >> $DAEMON_PIDS | |
1426 | $ get-with-headers.py localhost:$HGPORT1 '?style=raw' |
|
1426 | $ get-with-headers.py localhost:$HGPORT1 '?style=raw' | |
1427 | 200 Script output follows |
|
1427 | 200 Script output follows | |
@@ -1433,7 +1433,7 b' test --port option overrides web.port:' | |||||
1433 | $ killdaemons.py |
|
1433 | $ killdaemons.py | |
1434 | $ hg serve -p $HGPORT2 -d -v --pid-file=hg.pid --web-conf paths.conf \ |
|
1434 | $ hg serve -p $HGPORT2 -d -v --pid-file=hg.pid --web-conf paths.conf \ | |
1435 | > -A access-paths.log -E error-paths-10.log |
|
1435 | > -A access-paths.log -E error-paths-10.log | |
1436 | listening at http://*:$HGPORT2/ (bound to *$LOCALIP*:$HGPORT2) (glob) |
|
1436 | listening at http://*:$HGPORT2/ (bound to *$LOCALIP*:$HGPORT2) (glob) (?) | |
1437 | $ cat hg.pid >> $DAEMON_PIDS |
|
1437 | $ cat hg.pid >> $DAEMON_PIDS | |
1438 | $ get-with-headers.py localhost:$HGPORT2 '?style=raw' |
|
1438 | $ get-with-headers.py localhost:$HGPORT2 '?style=raw' | |
1439 | 200 Script output follows |
|
1439 | 200 Script output follows |
@@ -7,7 +7,7 b' Set up SMTP server:' | |||||
7 |
|
7 | |||
8 | $ python "$TESTDIR/dummysmtpd.py" -p $HGPORT --pid-file a.pid -d \ |
|
8 | $ python "$TESTDIR/dummysmtpd.py" -p $HGPORT --pid-file a.pid -d \ | |
9 | > --tls smtps --certificate `pwd`/server.pem |
|
9 | > --tls smtps --certificate `pwd`/server.pem | |
10 |
listening at localhost:$ |
|
10 | listening at localhost:$HGPORT (?) | |
11 | $ cat a.pid >> $DAEMON_PIDS |
|
11 | $ cat a.pid >> $DAEMON_PIDS | |
12 |
|
12 | |||
13 | Set up repository: |
|
13 | Set up repository: |
@@ -34,13 +34,13 b' errors' | |||||
34 | With -v |
|
34 | With -v | |
35 |
|
35 | |||
36 | $ hgserve |
|
36 | $ hgserve | |
37 | listening at http://localhost/ (bound to *$LOCALIP*:HGPORT1) (glob) |
|
37 | listening at http://localhost/ (bound to *$LOCALIP*:HGPORT1) (glob) (?) | |
38 | % errors |
|
38 | % errors | |
39 |
|
39 | |||
40 | With -v and -p HGPORT2 |
|
40 | With -v and -p HGPORT2 | |
41 |
|
41 | |||
42 | $ hgserve -p "$HGPORT2" |
|
42 | $ hgserve -p "$HGPORT2" | |
43 | listening at http://localhost/ (bound to *$LOCALIP*:HGPORT2) (glob) |
|
43 | listening at http://localhost/ (bound to *$LOCALIP*:HGPORT2) (glob) (?) | |
44 | % errors |
|
44 | % errors | |
45 |
|
45 | |||
46 | With -v and -p daytime (should fail because low port) |
|
46 | With -v and -p daytime (should fail because low port) | |
@@ -57,25 +57,25 b' With -v and -p daytime (should fail beca' | |||||
57 | With --prefix foo |
|
57 | With --prefix foo | |
58 |
|
58 | |||
59 | $ hgserve --prefix foo |
|
59 | $ hgserve --prefix foo | |
60 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) |
|
60 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) (?) | |
61 | % errors |
|
61 | % errors | |
62 |
|
62 | |||
63 | With --prefix /foo |
|
63 | With --prefix /foo | |
64 |
|
64 | |||
65 | $ hgserve --prefix /foo |
|
65 | $ hgserve --prefix /foo | |
66 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) |
|
66 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) (?) | |
67 | % errors |
|
67 | % errors | |
68 |
|
68 | |||
69 | With --prefix foo/ |
|
69 | With --prefix foo/ | |
70 |
|
70 | |||
71 | $ hgserve --prefix foo/ |
|
71 | $ hgserve --prefix foo/ | |
72 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) |
|
72 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) (?) | |
73 | % errors |
|
73 | % errors | |
74 |
|
74 | |||
75 | With --prefix /foo/ |
|
75 | With --prefix /foo/ | |
76 |
|
76 | |||
77 | $ hgserve --prefix /foo/ |
|
77 | $ hgserve --prefix /foo/ | |
78 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) |
|
78 | listening at http://localhost/foo/ (bound to *$LOCALIP*:HGPORT1) (glob) (?) | |
79 | % errors |
|
79 | % errors | |
80 |
|
80 | |||
81 | $ cd .. |
|
81 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now