diff -r 13edc11eb7b7 -r afbe1fe4c44e tests/test-https.t --- a/tests/test-https.t Wed Jun 29 19:38:24 2016 -0700 +++ b/tests/test-https.t Wed Jun 29 19:49:39 2016 -0700 @@ -51,6 +51,11 @@ $ hg clone https://localhost:$HGPORT/ copy-pull abort: error: *certificate verify failed* (glob) [255] +#else + $ hg clone https://localhost:$HGPORT/ copy-pull + abort: localhost certificate error: no certificate received + (set hostsecurity.localhost:certfingerprints=sha256:62:09:97:2f:97:60:e3:65:8f:12:5d:78:9e:35:a1:36:7a:65:4b:0e:9f:ac:db:c3:bc:6e:b6:a3:c0:16:e0:30 config setting or use --insecure to connect insecurely) + [255] #endif Specifying a per-host certificate file that doesn't exist will abort