* test/lisp/filenotify-tests.el

(file-notify-test09-watched-file-in-watched-dir): Adapt test.
This commit is contained in:
Michael Albinus 2019-01-06 14:42:07 +01:00
parent 108fdaeba6
commit ea9febe2bd

View file

@ -1417,9 +1417,13 @@ the file watch."
'())
(t '(deleted stopped))))))
(delete-directory file-notify--test-tmpfile 'recursive))
(should-not (file-notify-valid-p file-notify--test-desc1))
(should-not (file-notify-valid-p file-notify--test-desc2))
(when (string-equal (file-notify--test-library) "w32notify")
(unless (and (string-equal (file-notify--test-library) "inotify")
(getenv "EMACS_EMBA_CI"))
(should-not (file-notify-valid-p file-notify--test-desc1))
(should-not (file-notify-valid-p file-notify--test-desc2)))
(when (or (string-equal (file-notify--test-library) "w32notify")
(and (string-equal (file-notify--test-library) "inotify")
(getenv "EMACS_EMBA_CI")))
(file-notify--rm-descriptor file-notify--test-desc1)
(file-notify--rm-descriptor file-notify--test-desc2))