From 9813ca632f17ead99a3f33e6f828b360b3cf1880 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 15 May 2024 14:45:10 +0200 Subject: [PATCH] Also accept -15 (killed by SIGTERM) as exit code --- regression-tests.recursor-dnssec/recursortests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests.recursor-dnssec/recursortests.py b/regression-tests.recursor-dnssec/recursortests.py index b61a5f9d2e..9ad7dfeca7 100644 --- a/regression-tests.recursor-dnssec/recursortests.py +++ b/regression-tests.recursor-dnssec/recursortests.py @@ -784,7 +784,7 @@ distributor-threads={threads}""".format(confdir=confdir, @classmethod def tearDownRecursor(cls): p = cls.killProcess(cls._recursor) - if p.returncode != 0: + if p.returncode not in (0, -15): raise AssertionError('Process exited with return code %d' % (p.returncode)) @classmethod -- 2.47.2