From 18ab777eef3045421f4df3b127079833a8c3cbe5 Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff Date: Fri, 20 Nov 2020 22:29:47 +0100 Subject: Use SIGKILL instead of SIGTERM to terminate NsJail This new behavior matches how other limiters terminate the subprocess, resulting in a more consistency in the front-end for the end users as well. --- tests/test_nsjail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py index 852be4b..4a040e7 100644 --- a/tests/test_nsjail.py +++ b/tests/test_nsjail.py @@ -182,4 +182,4 @@ class NsJailTests(unittest.TestCase): """).strip() result = self.nsjail.python3(stdout_flood) - self.assertEqual(result.returncode, 143) + self.assertEqual(result.returncode, -9) -- cgit v1.2.3