##// END OF EJS Templates
tests: make test-serve works on system that allow user to bind low port...
marmoute -
r48573:a8deb9dc stable
parent child Browse files
Show More
@@ -44,13 +44,20 b' With -v and -p HGPORT2'
44 listening at http://localhost/ (bound to *$LOCALIP*:HGPORT2) (glob) (?)
44 listening at http://localhost/ (bound to *$LOCALIP*:HGPORT2) (glob) (?)
45 % errors
45 % errors
46
46
47 With -v and -p daytime (should fail because low port)
47 With -v and -p daytime
48
48
49 #if no-root no-windows
49 # On some system this will fails because port < 1024 are not bindable by normal
50 # users.
51 #
52 # On some others the kernel is configured to allow any user to bind them and
53 # this will work fine
54
55 #if no-windows
50 $ KILLQUIETLY=Y
56 $ KILLQUIETLY=Y
51 $ hgserve -p daytime
57 $ hgserve -p daytime
52 abort: cannot start server at 'localhost:13': Permission denied
58 abort: cannot start server at 'localhost:13': Permission denied (?)
53 abort: child process failed to start
59 abort: child process failed to start (?)
60 listening at http://localhost/ (bound to $LOCALIP:13) (?)
54 % errors
61 % errors
55 $ KILLQUIETLY=N
62 $ KILLQUIETLY=N
56 #endif
63 #endif
General Comments 0
You need to be logged in to leave comments. Login now