equal
deleted
inserted
replaced
24 $ hg serve -p $HGPORT -d --pid-file=../hg1.pid -E ../error.log |
24 $ hg serve -p $HGPORT -d --pid-file=../hg1.pid -E ../error.log |
25 $ hg serve --config server.uncompressed=False -p $HGPORT1 -d --pid-file=../hg2.pid |
25 $ hg serve --config server.uncompressed=False -p $HGPORT1 -d --pid-file=../hg2.pid |
26 |
26 |
27 Test server address cannot be reused |
27 Test server address cannot be reused |
28 |
28 |
29 #if windows |
|
30 $ hg serve -p $HGPORT1 2>&1 |
29 $ hg serve -p $HGPORT1 2>&1 |
31 abort: cannot start server at 'localhost:$HGPORT1': * (glob) |
30 abort: cannot start server at 'localhost:$HGPORT1': $EADDRINUSE$ |
32 [255] |
31 [255] |
33 #else |
32 |
34 $ hg serve -p $HGPORT1 2>&1 |
|
35 abort: cannot start server at 'localhost:$HGPORT1': Address already in use |
|
36 [255] |
|
37 #endif |
|
38 $ cd .. |
33 $ cd .. |
39 $ cat hg1.pid hg2.pid >> $DAEMON_PIDS |
34 $ cat hg1.pid hg2.pid >> $DAEMON_PIDS |
40 |
35 |
41 clone via stream |
36 clone via stream |
42 |
37 |