[PATCH] runtests: don't try to stop stunnel before trying again
authorDan Fandrich <dan@coneharvesters.com>
Mon, 17 Apr 2023 23:57:17 +0000 (16:57 -0700)
committerSamuel Henrique <samueloph@debian.org>
Fri, 8 May 2026 14:16:21 +0000 (07:16 -0700)
commitb2de9c2ed5f6bc57fe5c618a00ccfe904f4ec4d0
tree8d00ca1668362a97b3bbd79eda63db8d1e26dee2
parent10594372ea5a7be618e6235e48eb7b0410dacaab
[PATCH] runtests: don't try to stop stunnel before trying again

Calling stopserver() before retrying stunnel due to an error would stop
the dependent server (such as HTTP) meaning stunnel would have nothing
to talk to when it came up. Don't try to force a stop when it didn't
actually start.  Also, don't mark the server as bad for future use when
it starts up on a retry.

Reported-by: eaglegai at github
Tested-by: eaglegai at github
Fixes #10976

Backported by: Aquila Macedo Costa <aquilamacedo@riseup.net>.

Changes:
- Apply the changes to `runtests.pl` instead of `servers.pm`, as
  `servers.pm` does not exist in this version of bookworm.

Gbp-Pq: Name dont-stop-stunnel-before-retry.patch
tests/runtests.pl