diff --git a/tests/test-https.t b/tests/test-https.t index 13edc11eb7b7c524354d112c113ce492bb3d56d9_dGVzdHMvdGVzdC1odHRwcy50..afbe1fe4c44e76572ca5dec8a3921ab6b053c570_dGVzdHMvdGVzdC1odHRwcy50 100644 --- a/tests/test-https.t +++ b/tests/test-https.t @@ -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