tests/test-https.t
changeset 18588 3241fc65e3cd
parent 18354 cf5c76017e11
child 18682 408f2202bd80
equal deleted inserted replaced
18587:cbf5f3eb9d13 18588:3241fc65e3cd
   231   $ hg -R copy-pull id https://localhost:$HGPORT1/
   231   $ hg -R copy-pull id https://localhost:$HGPORT1/
   232   abort: certificate for localhost has unexpected fingerprint 28:ff:71:bf:65:31:14:23:ad:62:92:b4:0e:31:99:18:fc:83:e3:9b
   232   abort: certificate for localhost has unexpected fingerprint 28:ff:71:bf:65:31:14:23:ad:62:92:b4:0e:31:99:18:fc:83:e3:9b
   233   (check hostfingerprint configuration)
   233   (check hostfingerprint configuration)
   234   [255]
   234   [255]
   235 
   235 
       
   236 
   236 - ignores that certificate doesn't match hostname
   237 - ignores that certificate doesn't match hostname
   237   $ hg -R copy-pull id https://127.0.0.1:$HGPORT/
   238   $ hg -R copy-pull id https://127.0.0.1:$HGPORT/
   238   5fed3813f7f5
   239   5fed3813f7f5
   239 
   240 
   240   $ while kill `cat hg1.pid` 2>/dev/null; do sleep 0; done
   241 HGPORT1 is reused below for tinyproxy tests. Kill that server.
       
   242   $ "$TESTDIR/killdaemons.py" hg1.pid
   241 
   243 
   242 Prepare for connecting through proxy
   244 Prepare for connecting through proxy
   243 
   245 
   244   $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log </dev/null 2>&1 &
   246   $ "$TESTDIR/tinyproxy.py" $HGPORT1 localhost >proxy.log </dev/null 2>&1 &
   245   $ while [ ! -f proxy.pid ]; do sleep 0; done
   247   $ while [ ! -f proxy.pid ]; do sleep 0; done