]> code.delx.au - gnu-emacs/commit
Improve robustness of filenotify-tests.el (Bug#23618)
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jun 2016 17:49:16 +0000 (19:49 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jun 2016 17:49:16 +0000 (19:49 +0200)
commit6627dd7c9405670db99b792f782aa94c5da118a9
tree5e84673787a7edd60575535ed430f463c7fc44f2
parent4ffe265b5192fd93137cd49fb204efdc4bda2887
Improve robustness of filenotify-tests.el (Bug#23618)

* test/lisp/filenotify-tests.el (file-notify--test-no-descriptors)
(file-notify--test-no-descriptors-explainer)
(file-notify--test-cleanup-p): New defuns.
(file-notify--test-cleanup): Don't check for
`file-notify--test-event' anymore, that's done in
`file-notify--test-no-descriptors'.
(file-notify--test-with-events-check)
(file-notify--test-with-events): Handle the `random' marker.
(file-notify--test-with-events-explainer): Improve readability.
(file-notify-test00-availability)
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test03-autorevert)
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity)
(file-notify-test06-many-events, file-notify-test07-backup)
(file-notify-test08-watched-file-in-watched-dir)
(file-notify-test09-sufficient-resources): Check also
`file-notify--test-cleanup-p'.
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity): Use `ignore' as handler.
(file-notify-test05-dir-validity)
(file-notify-test06-many-events): Delete directory finally.
(file-notify-test08-watched-file-in-watched-dir): Add `random' marker.
test/lisp/filenotify-tests.el