projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde99c7
)
Test notify handlers only if file notification
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 28 Mar 2018 23:32:46 +0000
(16:32 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 28 Mar 2018 23:33:05 +0000
(16:33 -0700)
* test/lisp/files-tests.el:
(files-file-name-non-special-notify-handlers):
Skip if file notification is not available.
test/lisp/files-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/files-tests.el
b/test/lisp/files-tests.el
index d07df02877c3f28cef83bbf89785528dc3654239..1e6cd5eaba7b0fc67c7803924db035c3e72e9450 100644
(file)
--- a/
test/lisp/files-tests.el
+++ b/
test/lisp/files-tests.el
@@
-553,6
+553,7
@@
be invoked with the right arguments."
(should-not (file-newer-than-file-p nospecial nospecial))))
(ert-deftest files-file-name-non-special-notify-handlers ()
+ (skip-unless file-notify--library)
(files-tests--with-temp-non-special (tmpfile nospecial)
(let ((watch (file-notify-add-watch nospecial '(change) #'ignore)))
(should (file-notify-valid-p watch))