diff options
-rw-r--r-- | tests/test_nsjail.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py index 1a5c101..6f6e2a7 100644 --- a/tests/test_nsjail.py +++ b/tests/test_nsjail.py @@ -336,8 +336,8 @@ class NsJailCgroupTests(unittest.TestCase): rw: false } exec_bin { - path: "/usr/local/bin/python" - arg: "-Squ" + path: "/bin/su" + arg: "" } """ ).strip() @@ -383,4 +383,4 @@ class NsJailCgroupTests(unittest.TestCase): result = nsjail.python3("") - self.assertEqual(result.returncode, 0) + self.assertNotEqual(result.returncode, 255) |