[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/albinus 9d5e694 2/2: * test/lisp/filenotify-tests.
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] scratch/albinus 9d5e694 2/2: * test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test. |
Date: |
Sat, 5 Jan 2019 10:02:52 -0500 (EST) |
branch: scratch/albinus
commit 9d5e694337efd2492c6a745e5a722d3f64678470
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
* test/lisp/filenotify-tests.el (file-notify-test03-events): Adapt test.
---
test/lisp/filenotify-tests.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index b52eac9..3e99a9a 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -796,6 +796,11 @@ delivered."
'(created created deleted deleted stopped))
((string-equal (file-notify--test-library) "kqueue")
'(created changed renamed deleted stopped))
+ ;; inotify on emba does not detect `deleted' and
+ ;; `stopped' events of the directory.
+ ((and (string-equal (file-notify--test-library) "inotify")
+ (getenv "EMACS_EMBA_CI"))
+ '(created changed renamed deleted))
(t '(created changed renamed deleted deleted stopped)))
(write-region
"any text" nil file-notify--test-tmpfile nil 'no-message)