changeset 52290:e03bc88776d3

tests: stop killing (most) https servers individually This is easier to manage, and avoids one nested conditional. There is one final sweep of killing individual servers near the end, but that's left alone because there's a comment about not killing `tinyproxy.py`, due to potentially emitting additional output.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 11 Nov 2024 12:08:26 -0500
parents 323e3626929a
children b65085c6d6ff
files tests/test-https.t
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-https.t	Mon Dec 21 20:21:46 2020 -0500
+++ b/tests/test-https.t	Mon Nov 11 12:08:26 2024 -0500
@@ -335,9 +335,7 @@
 
 Ports used by next test. Kill servers.
 
-  $ killdaemons.py hg0.pid
-  $ killdaemons.py hg1.pid
-  $ killdaemons.py hg2.pid
+  $ killdaemons.py $DAEMON_PIDS
 
 #if tls1.2
 Start servers running supported TLS versions
@@ -465,12 +463,7 @@
   abort: error: .*(unsupported protocol|wrong ssl version|alert protocol version).* (re)
   [100]
 
-  $ killdaemons.py hg0.pid
-  $ killdaemons.py hg1.pid
-  $ killdaemons.py hg2.pid
-#if tls1.3
-  $ killdaemons.py hg3.pid
-#endif
+  $ killdaemons.py $DAEMON_PIDS
 #endif
 
 Prepare for connecting through proxy