]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/filenotify-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Jan 2019 13:42:07 +0000 (14:42 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Jan 2019 13:42:07 +0000 (14:42 +0100)
(file-notify-test09-watched-file-in-watched-dir): Adapt test.

test/lisp/filenotify-tests.el

index 2f8441d0c2f404809c0280569ea17389277ae0e8..7fc35ba37186d1f60b644f54a689f5445ddd77f4 100644 (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))