mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +03:00
test-serve: add missing globs
check-code missed this because of the closing ) in the "bound to" message.
This commit is contained in:
parent
afe4cc8905
commit
1f1c387b60
@ -34,13 +34,13 @@ errors
|
||||
With -v
|
||||
|
||||
$ hgserve
|
||||
listening at http://localhost/ (bound to 127.0.0.1:HGPORT1)
|
||||
listening at http://localhost/ (bound to 127.0.0.1:HGPORT1) (glob)
|
||||
% errors
|
||||
|
||||
With -v and -p HGPORT2
|
||||
|
||||
$ hgserve -p "$HGPORT2"
|
||||
listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
|
||||
listening at http://localhost/ (bound to 127.0.0.1:HGPORT2) (glob)
|
||||
% errors
|
||||
|
||||
With -v and -p daytime (should fail because low port)
|
||||
@ -57,25 +57,25 @@ With -v and -p daytime (should fail because low port)
|
||||
With --prefix foo
|
||||
|
||||
$ hgserve --prefix foo
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
|
||||
% errors
|
||||
|
||||
With --prefix /foo
|
||||
|
||||
$ hgserve --prefix /foo
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
|
||||
% errors
|
||||
|
||||
With --prefix foo/
|
||||
|
||||
$ hgserve --prefix foo/
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
|
||||
% errors
|
||||
|
||||
With --prefix /foo/
|
||||
|
||||
$ hgserve --prefix /foo/
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
|
||||
listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
|
||||
% errors
|
||||
|
||||
$ cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user