• Michael Albinus's avatar
    Fix Bug#22557 · d5a10aef
    Michael Albinus authored
    * 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.
    d5a10aef
filenotify.el 17.9 KB