tests: stop killing (most) https servers individually
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 11 Nov 2024 12:08:26 -0500
changeset 52290 e03bc88776d3
parent 52289 323e3626929a
child 52291 b65085c6d6ff
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.
tests/test-https.t
--- 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