1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 20:32:00 -08:00

Suppress undesired error messages in filenotify-tests.el

* test/lisp/filenotify-tests.el (file-notify-test03-autorevert):
Suppress `vc-refresh-state', it produces undesired error messages.
This commit is contained in:
Michael Albinus 2017-02-07 21:42:12 +01:00
parent 1af484f87e
commit c8ee570a8b

View file

@ -665,6 +665,9 @@ delivered."
(setq auto-revert-notify-exclude-dir-regexp "nothing-to-be-excluded"
auto-revert-remote-files t
auto-revert-stop-on-user-input nil)
;; In the remote case, `vc-refresh-state' returns undesired error
;; messages. Let's suppress them.
(defalias 'vc-refresh-state 'ignore)
(ert-deftest file-notify-test03-autorevert ()
"Check autorevert via file notification."