Skip to content

Commit

Permalink
Checker: Add comment to test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudis committed Sep 15, 2023
1 parent d59ba3a commit d35c60a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/checker/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d35c60a

Please sign in to comment.