]> code.delx.au - gnu-emacs/commit
Fix Bug#22557
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 7 Feb 2016 18:30:01 +0000 (19:30 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 7 Feb 2016 18:30:01 +0000 (19:30 +0100)
commitd5a10aefee22cf1d092edad26c845e049ab8861c
tree14156a9156b1a3409cab4d24579b5f84892c7012
parent67fcd5addcd91169f79dc5d51d0a71eb2b486aed
Fix Bug#22557

* lisp/filenotify.el (file-notify-callback): Do not send a
`stopped' event in case of backup by renaming.  (Bug#22557)

* test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
all targets but check and check-maybe.

* test/automated/file-notify-tests.el
(file-notify--test-read-event-timeout): New defconst.
(file-notify--deftest-remote, file-notify--wait-for-events)
(file-notify-test02-events)
(file-notify-test04-file-validity)
(file-notify-test06-many-events): Use it.
(file-notify--test-cleanup): Make it more robust.  Delete also
backup file.
(file-notify-test07-backup): New test.
lisp/filenotify.el
test/automated/Makefile.in
test/automated/file-notify-tests.el