Show More
@@ -933,6 +933,8 b' class Test(unittest.TestCase):' | |||
|
933 | 933 | hgrc.write(b'[largefiles]\n') |
|
934 | 934 | hgrc.write(b'usercache = %s\n' % |
|
935 | 935 | (os.path.join(self._testtmp, b'.cache/largefiles'))) |
|
936 | hgrc.write(b'[web]\n') | |
|
937 | hgrc.write(b'address = localhost\n') | |
|
936 | 938 | |
|
937 | 939 | for opt in self._extraconfigopts: |
|
938 | 940 | section, key = opt.split('.', 1) |
@@ -11,6 +11,7 b' Create a repository:' | |||
|
11 | 11 | ui.interactive=False |
|
12 | 12 | ui.mergemarkers=detailed |
|
13 | 13 | ui.promptecho=True |
|
14 | web.address=localhost | |
|
14 | 15 | web.ipv6=True (?) |
|
15 | 16 | $ hg init t |
|
16 | 17 | $ cd t |
@@ -199,6 +199,7 b' check that local configs for the cached ' | |||
|
199 | 199 | ui.usehttp2=true (?) |
|
200 | 200 | ui.foo=bar |
|
201 | 201 | ui.nontty=true |
|
202 | web.address=localhost | |
|
202 | 203 | web.ipv6=True (?) |
|
203 | 204 | *** runcommand init foo |
|
204 | 205 | *** runcommand -R foo showconfig ui defaults |
@@ -28,11 +28,11 b' Test server address cannot be reused' | |||
|
28 | 28 | |
|
29 | 29 | #if windows |
|
30 | 30 | $ hg serve -p $HGPORT1 2>&1 |
|
31 | abort: cannot start server at ':$HGPORT1': * (glob) | |
|
31 | abort: cannot start server at 'localhost:$HGPORT1': * (glob) | |
|
32 | 32 | [255] |
|
33 | 33 | #else |
|
34 | 34 | $ hg serve -p $HGPORT1 2>&1 |
|
35 | abort: cannot start server at ':$HGPORT1': Address already in use | |
|
35 | abort: cannot start server at 'localhost:$HGPORT1': Address already in use | |
|
36 | 36 | [255] |
|
37 | 37 | #endif |
|
38 | 38 | $ cd .. |
@@ -23,7 +23,7 b' Test server address cannot be reused' | |||
|
23 | 23 | [255] |
|
24 | 24 | #else |
|
25 | 25 | $ hg serve -p $HGPORT1 2>&1 |
|
26 | abort: cannot start server at ':$HGPORT1': Address already in use | |
|
26 | abort: cannot start server at 'localhost:$HGPORT1': Address already in use | |
|
27 | 27 | [255] |
|
28 | 28 | #endif |
|
29 | 29 | $ cd .. |
@@ -36,11 +36,11 b' Test server address cannot be reused' | |||
|
36 | 36 | |
|
37 | 37 | #if windows |
|
38 | 38 | $ hg serve -p $HGPORT --certificate=$PRIV 2>&1 |
|
39 | abort: cannot start server at ':$HGPORT': | |
|
39 | abort: cannot start server at 'localhost:$HGPORT': | |
|
40 | 40 | [255] |
|
41 | 41 | #else |
|
42 | 42 | $ hg serve -p $HGPORT --certificate=$PRIV 2>&1 |
|
43 | abort: cannot start server at ':$HGPORT': Address already in use | |
|
43 | abort: cannot start server at 'localhost:$HGPORT': Address already in use | |
|
44 | 44 | [255] |
|
45 | 45 | #endif |
|
46 | 46 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now