tests/test-https.t
changeset 29445 072e4a595607
parent 29411 e1778b9c8d53
child 29446 2f7f1e10f840
--- a/tests/test-https.t	Mon Jun 06 13:08:13 2016 +0200
+++ b/tests/test-https.t	Wed Jun 29 18:15:28 2016 -0700
@@ -180,6 +180,14 @@
   searching for changes
   no changes found
 
+empty cacert file
+
+  $ touch emptycafile
+  $ hg --config web.cacerts=emptycafile -R copy-pull pull
+  pulling from https://localhost:$HGPORT/
+  abort: error: * (glob)
+  [255]
+
 cacert mismatch
 
   $ hg -R copy-pull pull --config web.cacerts="$CERTSDIR/pub.pem" \