]> git.eshelyaron.com Git - emacs.git/commit
Fix filenotify-tests.el for Solaris (bug#47262), do not merge
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 25 Mar 2021 14:36:33 +0000 (15:36 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 25 Mar 2021 14:36:33 +0000 (15:36 +0100)
commit720a8b17f8f48f2bc7d59dc71be1d5fc35f0964b
tree03a6973fa58b9fbca6400085b1010833e93b7aaf
parentdeef5efafb70f4b171265b896505b92b6eef24e6
Fix filenotify-tests.el for Solaris (bug#47262), do not merge

* test/lisp/filenotify-tests.el (file-notify--test-read-event):
Check also for GFamDirectoryMonitor.
(file-notify--test-timeout): Increase cygwin timeout.
(file-notify--test-monitor): Use `alist-get'.
(file-notify--test-event-actions): New defun.
(file-notify--test-with-actions-explainer): Use it.
(file-notify--test-with-actions-check): Use it.  If
file-notify-debug is non-nil, trace received events instead of
checking them.
(file-notify-test03-events, file-notify-test05-file-validity)
(file-notify-test07-many-events, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GFamFileMonitor and GFamDirectoryMonitor.
test/lisp/filenotify-tests.el