# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1731344906 18000
#      Mon Nov 11 12:08:26 2024 -0500
# Node ID e03bc88776d3a0809feccb7b4c6b8f1ccec695cd
# Parent  323e3626929a79e8b7866bfef1f9c072cb4fc7cf
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.

diff --git a/tests/test-https.t b/tests/test-https.t
--- a/tests/test-https.t
+++ b/tests/test-https.t
@@ -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