summaryrefslogtreecommitdiff
path: root/test/lisp/filenotify-tests.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2017-02-07 21:42:12 +0100
committerMichael Albinus <michael.albinus@gmx.de>2017-02-07 21:42:12 +0100
commitc8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0 (patch)
tree444024a141d4b6b461a8bb4bdab9b422d47722f0 /test/lisp/filenotify-tests.el
parent1af484f87e2e14d177a2352ea3db0bb1420317bf (diff)
downloademacs-c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0.tar.gz
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.
Diffstat (limited to 'test/lisp/filenotify-tests.el')
-rw-r--r--test/lisp/filenotify-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 27434bcef20..c024c51ce28 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -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."