aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEli Zaretskii2017-02-04 13:49:55 +0200
committerEli Zaretskii2017-02-04 13:49:55 +0200
commitc8f91b168b0955e1e21acbf291171af1f70725ec (patch)
tree4dc435682de9f9baccfb9c374f70c40379b748a0 /test
parentef3d8d6f7226e570209e913d2754e828d0cb121c (diff)
downloademacs-c8f91b168b0955e1e21acbf291171af1f70725ec.tar.gz
emacs-c8f91b168b0955e1e21acbf291171af1f70725ec.zip
Fix autorevert-tests on MS-Windows
* test/lisp/autorevert-tests.el (auto-revert-test02-auto-revert-deleted-file): Don't check that auto-revert-use-notify was reset to nil on w32.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/autorevert-tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el
index c082ba95639..c6f103321c6 100644
--- a/test/lisp/autorevert-tests.el
+++ b/test/lisp/autorevert-tests.el
@@ -190,7 +190,9 @@ This expects `auto-revert--messages' to be bound by
190 ;; notification should be disabled, falling back to 190 ;; notification should be disabled, falling back to
191 ;; polling. 191 ;; polling.
192 (should (string-match "any text" (buffer-string))) 192 (should (string-match "any text" (buffer-string)))
193 (should-not auto-revert-use-notify) 193 ;; With w32notify, the 'stopped' events are not sent.
194 (or (eq file-notify--library 'w32notify)
195 (should-not auto-revert-use-notify))
194 196
195 ;; Once the file has been recreated, the buffer shall be 197 ;; Once the file has been recreated, the buffer shall be
196 ;; reverted. 198 ;; reverted.