Mercurial > hg
comparison tests/test-serve.t @ 47859:155a2ec8a9dc
merge with stable
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 22 Aug 2021 16:32:06 -0400 |
parents | a8deb9dc39da |
children | 6f43569729d4 |
comparison
equal
deleted
inserted
replaced
47802:de2e04fe4897 | 47859:155a2ec8a9dc |
---|---|
42 | 42 |
43 $ hgserve -p "$HGPORT2" | 43 $ hgserve -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 |
57 | 64 |
58 With --prefix foo | 65 With --prefix foo |