diff options
| author | Michael Albinus | 2017-02-07 21:42:12 +0100 |
|---|---|---|
| committer | Michael Albinus | 2017-02-07 21:42:12 +0100 |
| commit | c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0 (patch) | |
| tree | 444024a141d4b6b461a8bb4bdab9b422d47722f0 | |
| parent | 1af484f87e2e14d177a2352ea3db0bb1420317bf (diff) | |
| download | emacs-c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0.tar.gz emacs-c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0.zip | |
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.
| -rw-r--r-- | test/lisp/filenotify-tests.el | 3 |
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." | |||
| 665 | (setq auto-revert-notify-exclude-dir-regexp "nothing-to-be-excluded" | 665 | (setq auto-revert-notify-exclude-dir-regexp "nothing-to-be-excluded" |
| 666 | auto-revert-remote-files t | 666 | auto-revert-remote-files t |
| 667 | auto-revert-stop-on-user-input nil) | 667 | auto-revert-stop-on-user-input nil) |
| 668 | ;; In the remote case, `vc-refresh-state' returns undesired error | ||
| 669 | ;; messages. Let's suppress them. | ||
| 670 | (defalias 'vc-refresh-state 'ignore) | ||
| 668 | 671 | ||
| 669 | (ert-deftest file-notify-test03-autorevert () | 672 | (ert-deftest file-notify-test03-autorevert () |
| 670 | "Check autorevert via file notification." | 673 | "Check autorevert via file notification." |