GNU bug report logs -
#21669
25.0.50; file-notify-tests failure on Fedora x86-64
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sun, 11 Oct 2015 22:36:02 UTC
Severity: minor
Found in version 25.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Paul Eggert <eggert <at> cs.ucla.edu> writes:
Hi Paul,
> I'm not sure for the failure I already sent you since I've git pulled
> since then, but I just now reran the tests in master commit
> f6ece2420c3dc6f3dde06c7f8722f5b0b7e1ef4a (which postdates the commit
> you mention) and am still seeing intermittent failures.
Finally, I could fix it. Puhhh.
In fact, there were two problems:
- `write-region' fires in the local case just `created' and `changed'
events. In the remote case, it fires `created', `changed' and
`attribute-changed' events. This is because Tramp calls internally
`set-file-modes' on the newly created file.
- In the test case `file-notify-test02-events-remote' not all events did
arrive in time, because there was a fast sequence `write-region',
`set-file-modes', `delete-file'. So I had to introduce short
`sleep-for' calls between those functions.
I've committed a fix for both problems (and for one unrelated error in
filenotify.el I found also). I've run file-notify-tests.el 20 times now,
no error again. Could you, pls, recheck?
Best regards, Michael.
This bug report was last modified 9 years and 205 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.