diff --git a/tests/checker/test_integration.py b/tests/checker/test_integration.py index 46a9a3d..79d5af4 100644 --- a/tests/checker/test_integration.py +++ b/tests/checker/test_integration.py @@ -540,6 +540,7 @@ def test_sudo_unfinished(self, monotonic_mock, warning_mock): checkerscript_path = os.path.join(os.path.dirname(__file__), 'integration_unfinished_checkerscript.py') + # NOTE: This needs `sysctl fs.protected_regular=0` if tempfile is created in /tmp checkerscript_pidfile = tempfile.NamedTemporaryFile() os.chmod(checkerscript_pidfile.name, 0o666) os.environ['CHECKERSCRIPT_PIDFILE'] = checkerscript_pidfile.name