tests/test-patchbomb-tls.t
branchstable
changeset 50732 b3a5af04da35
parent 50730 cfb6ca77e6bc
child 51498 25055932042a
--- a/tests/test-patchbomb-tls.t	Mon Jun 26 16:45:13 2023 +0200
+++ b/tests/test-patchbomb-tls.t	Thu Mar 23 16:45:12 2023 +0100
@@ -7,7 +7,6 @@
 
   $ "$PYTHON" "$TESTDIR/dummysmtpd.py" -p $HGPORT --pid-file a.pid --logfile log -d \
   > --tls smtps --certificate `pwd`/server.pem
-  listening at localhost:$HGPORT (?)
   $ cat a.pid >> $DAEMON_PIDS
 
 Set up repository:
@@ -47,6 +46,11 @@
   (an attempt was made to load CA certificates but none were loaded; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error)
   (?i)abort: .*?certificate.verify.failed.* (re)
   [255]
+
+  $ cat ../log
+  * ssl error: * (glob)
+  $ : > ../log
+
 #endif
 
 #if defaultcacertsloaded
@@ -58,6 +62,10 @@
   (?i)abort: .*?certificate.verify.failed.* (re)
   [255]
 
+  $ cat ../log
+  * ssl error: * (glob)
+  $ : > ../log
+
 #endif
 
   $ DISABLECACERTS="--config devel.disableloaddefaultcerts=true"
@@ -76,7 +84,8 @@
   [150]
 
   $ cat ../log
-  * ssl error: * (glob)
+  connection from * (glob)
+  no hello: b''
   $ : > ../log
 
 With global certificates:
@@ -91,6 +100,7 @@
   sending [PATCH] a ...
 
   $ cat ../log
+  connection from * (glob)
   * from=quux to=foo, bar (glob)
   MIME-Version: 1.0
   Content-Type: text/plain; charset="us-ascii"