From: Michael Albinus Date: Sun, 6 Jan 2019 13:42:07 +0000 (+0100) Subject: * test/lisp/filenotify-tests.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea9febe2bd21e12eb79cc948c038dfda683399f2;p=emacs.git * test/lisp/filenotify-tests.el (file-notify-test09-watched-file-in-watched-dir): Adapt test. --- diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 2f8441d0c2f..7fc35ba3718 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el @@ -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))