aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2021-03-16 13:25:46 -0700
committerGravatar GitHub <[email protected]>2021-03-16 13:25:46 -0700
commitb4438bc09c7b296fd926f780b16aba64ea8c1331 (patch)
treefa99e5abefe2190ff54f24d29b5505f61c048b65 /tests
parentRemove the mixed line endings pre-commit hook because it is obsolete. (diff)
parentUpdate flooding test to expect code 143 (diff)
Merge PR #96 - nsjail SIGKILL to SIGTERM
Diffstat (limited to 'tests')
-rw-r--r--tests/test_nsjail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py
index c0e43b6..4d4676b 100644
--- a/tests/test_nsjail.py
+++ b/tests/test_nsjail.py
@@ -186,7 +186,7 @@ class NsJailTests(unittest.TestCase):
""").strip()
result = self.nsjail.python3(stdout_flood)
- self.assertEqual(result.returncode, 137)
+ self.assertEqual(result.returncode, 143)
def test_large_output_is_truncated(self):
chunk = "a" * READ_CHUNK_SIZE