equal
deleted
inserted
replaced
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 $ $PYTHON $RUNTESTDIR/killdaemons.py $DAEMON_PIDS |
|
82 |
|
83 With out of bounds accesses |
|
84 |
|
85 $ rm access.log |
|
86 $ hg serve -a localhost -p $HGPORT -d --prefix some/dir \ |
|
87 > --pid-file=hg.pid -E errors.log |
|
88 $ cat hg.pid >> "$DAEMON_PIDS" |
|
89 |
|
90 $ hg id http://localhost:$HGPORT/some/dir7 |
|
91 abort: HTTP Error 404: Not Found |
|
92 [255] |
|
93 $ hg id http://localhost:$HGPORT/some |
|
94 abort: HTTP Error 404: Not Found |
|
95 [255] |
|
96 |
|
97 $ cat access.log errors.log |
|
98 $LOCALIP - - [$LOGDATE$] "GET /some/dir7?cmd=capabilities HTTP/1.1" 404 - (glob) |
|
99 $LOCALIP - - [$LOGDATE$] "GET /some?cmd=capabilities HTTP/1.1" 404 - (glob) |
|
100 |
81 $ cd .. |
101 $ cd .. |