summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/monkey9p.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/monkey9p.py b/test/monkey9p.py
index 7ab6cb0c..4d190bbc 100644
--- a/test/monkey9p.py
+++ b/test/monkey9p.py
@@ -1518,6 +1518,9 @@ def one_failure_rule(ctx, res):
# line cut across Twrites runs a piece a Twrite, and a piece that ran
# (a Save) says so while a later one is refused.
succeeded = [w for w in writes if w[2] is True and w[0] == 'write']
+ # A file watch's notice (`<file> deleted on disk ...`, `changed on
+ # disk`) is the host's news, said whenever it arrives: no write's.
+ msgs = [m for m in msgs if ' deleted on disk (' not in m and ' changed on disk (' not in m]
if failed and msgs and not succeeded:
return f'a failed write also logged msg: {msgs}; failed={[(w[1], w[3]) for w in failed]}'
return None