tests/test-https.t
changeset 29445 072e4a595607
parent 29411 e1778b9c8d53
child 29446 2f7f1e10f840
equal deleted inserted replaced
29444:284d742e5611 29445:072e4a595607
   177   $ P="$CERTSDIR" hg -R copy-pull pull --insecure
   177   $ P="$CERTSDIR" hg -R copy-pull pull --insecure
   178   pulling from https://localhost:$HGPORT/
   178   pulling from https://localhost:$HGPORT/
   179   warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering
   179   warning: connection security to localhost is disabled per current settings; communication is susceptible to eavesdropping and tampering
   180   searching for changes
   180   searching for changes
   181   no changes found
   181   no changes found
       
   182 
       
   183 empty cacert file
       
   184 
       
   185   $ touch emptycafile
       
   186   $ hg --config web.cacerts=emptycafile -R copy-pull pull
       
   187   pulling from https://localhost:$HGPORT/
       
   188   abort: error: * (glob)
       
   189   [255]
   182 
   190 
   183 cacert mismatch
   191 cacert mismatch
   184 
   192 
   185   $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
   193   $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \
   186   > https://127.0.0.1:$HGPORT/
   194   > https://127.0.0.1:$HGPORT/