tests/test-serve.t
changeset 20008 e54a078153f7
parent 18602 339a3fa19695
child 22046 7a9cbb315d84
equal deleted inserted replaced
20007:23edc6673f0d 20008:e54a078153f7
    43   listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
    43   listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
    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)
    47 
    47 
       
    48 #if no-root
    48   $ KILLQUIETLY=Y
    49   $ KILLQUIETLY=Y
    49   $ hgserve -p daytime
    50   $ hgserve -p daytime
    50   abort: cannot start server at 'localhost:13': Permission denied
    51   abort: cannot start server at 'localhost:13': Permission denied
    51   abort: child process failed to start
    52   abort: child process failed to start
    52   % errors
    53   % errors
    53   $ KILLQUIETLY=N
    54   $ KILLQUIETLY=N
       
    55 #endif
    54 
    56 
    55 With --prefix foo
    57 With --prefix foo
    56 
    58 
    57   $ hgserve --prefix foo
    59   $ hgserve --prefix foo
    58   listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
    60   listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)