tests/test-http-bundle1.t
changeset 35233 1b22d325089c
parent 35074 62e10bf001a9
child 36256 f718e8ec1c82
child 36754 e3c228b4510d
equal deleted inserted replaced
35232:a037b6647d8c 35233:1b22d325089c
    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