]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Also accept -15 (killed by SIGTERM) as exit code
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 15 May 2024 12:45:10 +0000 (14:45 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 15 May 2024 12:45:10 +0000 (14:45 +0200)
regression-tests.recursor-dnssec/recursortests.py

index b61a5f9d2e4fbe1a1106cc7f2c1d79b8322c1a88..9ad7dfeca730e1786a7948463a6920407d11a36f 100644 (file)
@@ -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