summaryrefslogtreecommitdiff
path: root/tests/integration/harness.py
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-06 20:25:39 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-06 20:25:39 +0100
commit97e58519bc946daabcadc531510497c3598961a1 (patch)
tree74ecfb22d5666db86a1406b27313ffdf6f348879 /tests/integration/harness.py
parenta282b339504380bd2b1d705720ea2de757ae5541 (diff)
Fix an accesslist reload issue where an empty-but-present changeset after a reload could potentially walk a NULL array
Diffstat (limited to 'tests/integration/harness.py')
-rw-r--r--tests/integration/harness.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration/harness.py b/tests/integration/harness.py
index e5ec621..f3cd0fa 100644
--- a/tests/integration/harness.py
+++ b/tests/integration/harness.py
@@ -135,6 +135,11 @@ class Tracker:
135 self.log.seek(0) 135 self.log.seek(0)
136 return self.log.read().decode("utf-8", "replace") 136 return self.log.read().decode("utf-8", "replace")
137 137
138 def reload(self):
139 """SIGHUP makes the accesslist reader re-read its files, which also
140 empties the dynamic add/delete changesets."""
141 os.kill(self.process.pid, signal.SIGHUP)
142
138 def stop(self): 143 def stop(self):
139 """Returns anything the tracker complained about on the way out. 144 """Returns anything the tracker complained about on the way out.
140 145