diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-02-04 13:49:55 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-02-04 13:49:55 +0200 |
commit | c8f91b168b0955e1e21acbf291171af1f70725ec (patch) | |
tree | 4dc435682de9f9baccfb9c374f70c40379b748a0 /test/lisp/autorevert-tests.el | |
parent | ef3d8d6f7226e570209e913d2754e828d0cb121c (diff) | |
download | emacs-c8f91b168b0955e1e21acbf291171af1f70725ec.tar.gz |
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/lisp/autorevert-tests.el')
-rw-r--r-- | test/lisp/autorevert-tests.el | 4 |
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 ;; notification should be disabled, falling back to ;; polling. (should (string-match "any text" (buffer-string))) - (should-not auto-revert-use-notify) + ;; With w32notify, the 'stopped' events are not sent. + (or (eq file-notify--library 'w32notify) + (should-not auto-revert-use-notify)) ;; Once the file has been recreated, the buffer shall be ;; reverted. |