mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
More adaptations in file-notify-tests.el
* test/automated/file-notify-tests.el (file-notify-test05-dir-validity): Skip for w32notify in batch-mode. (Bug#21432)
This commit is contained in:
parent
4969489ce0
commit
641350b2fd
1 changed files with 3 additions and 0 deletions
|
|
@ -411,6 +411,9 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered."
|
|||
(ert-deftest file-notify-test05-dir-validity ()
|
||||
"Check `file-notify-valid-p' for directories."
|
||||
(skip-unless (file-notify--test-local-enabled))
|
||||
;; The batch-mode operation of w32notify is fragile (there's no
|
||||
;; input threads to send the message to).
|
||||
(skip-unless (not (and noninteractive (eq file-notify--library 'w32notify))))
|
||||
(unwind-protect
|
||||
(progn
|
||||
(setq file-notify--test-tmpfile (file-name-as-directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue