tests/test-https.t
changeset 35233 1b22d325089c
parent 34661 eb586ed5d8ce
child 39489 f1186c292d03
equal deleted inserted replaced
35232:a037b6647d8c 35233:1b22d325089c
    32   abort: could not find web.cacerts: no-such.pem
    32   abort: could not find web.cacerts: no-such.pem
    33   [255]
    33   [255]
    34 
    34 
    35 Test server address cannot be reused
    35 Test server address cannot be reused
    36 
    36 
    37 #if windows
       
    38   $ hg serve -p $HGPORT --certificate=$PRIV 2>&1
    37   $ hg serve -p $HGPORT --certificate=$PRIV 2>&1
    39   abort: cannot start server at 'localhost:$HGPORT': * (glob)
    38   abort: cannot start server at 'localhost:$HGPORT': $EADDRINUSE$
    40   [255]
    39   [255]
    41 #else
    40 
    42   $ hg serve -p $HGPORT --certificate=$PRIV 2>&1
       
    43   abort: cannot start server at 'localhost:$HGPORT': Address already in use
       
    44   [255]
       
    45 #endif
       
    46   $ cd ..
    41   $ cd ..
    47 
    42 
    48 Our test cert is not signed by a trusted CA. It should fail to verify if
    43 Our test cert is not signed by a trusted CA. It should fail to verify if
    49 we are able to load CA certs.
    44 we are able to load CA certs.
    50 
    45