tests/test-http-bad-server.t
changeset 40881 8695fbe17f7c
parent 39722 4bd6e444c76f
child 40886 8aa7879adacf
equal deleted inserted replaced
40880:7cda0cacbbf6 40881:8695fbe17f7c
    34 
    34 
    35   $ hg serve --config badserver.closebeforeaccept=true -p $HGPORT -d --pid-file=hg.pid
    35   $ hg serve --config badserver.closebeforeaccept=true -p $HGPORT -d --pid-file=hg.pid
    36   $ cat hg.pid > $DAEMON_PIDS
    36   $ cat hg.pid > $DAEMON_PIDS
    37 
    37 
    38   $ hg clone http://localhost:$HGPORT/ clone
    38   $ hg clone http://localhost:$HGPORT/ clone
    39   abort: error: $ECONNRESET$
    39   abort: error: $ECONNRESET$ (?)
       
    40   abort: error: $EADDRNOTAVAIL$ (?)
    40   [255]
    41   [255]
    41 
    42 
    42 (The server exits on its own, but there is a race between that and starting a new server.
    43 (The server exits on its own, but there is a race between that and starting a new server.
    43 So ensure the process is dead.)
    44 So ensure the process is dead.)
    44 
    45