Mercurial > hg
diff tests/test-patchbomb-tls.t @ 44879:ab5348bbc55e
tests: remove "defaultcacerts" check
`sslutil._canloaddefaultcerts` is always true (and will be removed).
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sat, 30 May 2020 05:08:02 +0200 |
parents | 5abc47d4ca6b |
children | 89f83e47e9c9 |
line wrap: on
line diff
--- a/tests/test-patchbomb-tls.t Fri May 29 21:30:04 2020 +0200 +++ b/tests/test-patchbomb-tls.t Sat May 30 05:08:02 2020 +0200 @@ -39,7 +39,7 @@ Our test cert is not signed by a trusted CA. It should fail to verify if we are able to load CA certs: -#if sslcontext defaultcacerts no-defaultcacertsloaded +#if sslcontext no-defaultcacertsloaded $ try this patch series consists of 1 patches. @@ -49,7 +49,7 @@ [255] #endif -#if no-sslcontext defaultcacerts +#if no-sslcontext $ try this patch series consists of 1 patches. @@ -73,17 +73,6 @@ #endif -#if no-defaultcacerts - $ try - this patch series consists of 1 patches. - - - (unable to load * certificates; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this message) (glob) (?) - 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 - $ DISABLECACERTS="--config devel.disableloaddefaultcerts=true" Without certificates: