]> git.eshelyaron.com Git - emacs.git/commit
Improve tests for gio file notifications
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 9 Dec 2020 13:49:58 +0000 (14:49 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 9 Dec 2020 13:49:58 +0000 (14:49 +0100)
commit2782d1e1a1d8945f0efe54091035f1a967f63f44
tree3a14589aea58f71e0e8c9a00074a11e931d5ebd1
parent45630ca6c839719dfc92583de5e606abba4b5718
Improve tests for gio file notifications

* .gitlab-ci.yml (test-filenotify-gio): Call "make -k".

* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
Set connection property "gio-file-monitor".

* lisp/net/tramp-sh.el (tramp-get-remote-gio-file-monitor): New defun.
(tramp-sh-handle-file-notify-add-watch): Use it.

* test/lisp/filenotify-tests.el (file-notify--test-read-event): Simplify.
(file-notify--test-monitor): Handle also remote "gio monitor".
(file-notify-test03-events, file-notify-test04-autorevert)
(file-notify-test05-file-validity, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GKqueueFileMonitor.
.gitlab-ci.yml
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
test/lisp/filenotify-tests.el