diff options
| author | Michael Albinus | 2019-05-08 10:49:31 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-05-08 10:49:31 +0200 |
| commit | 0728b40cc7b4e171281f7394aa4993b199166b90 (patch) | |
| tree | 4343e9146b67014d1aad0f6c8fccc1bac9dd4310 /test | |
| parent | 173fd94c11655bde2edf4cd1ee983e025aa06a79 (diff) | |
| download | emacs-0728b40cc7b4e171281f7394aa4993b199166b90.tar.gz emacs-0728b40cc7b4e171281f7394aa4993b199166b90.zip | |
; Instrument auto-revert--deftest-remote
Diffstat (limited to 'test')
| -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 af9edac1bea..8cdddf824d8 100644 --- a/test/lisp/autorevert-tests.el +++ b/test/lisp/autorevert-tests.el | |||
| @@ -140,6 +140,7 @@ This expects `auto-revert--messages' to be bound by | |||
| 140 | `(ert-deftest ,(intern (concat (symbol-name test) "-remote")) () | 140 | `(ert-deftest ,(intern (concat (symbol-name test) "-remote")) () |
| 141 | ,docstring | 141 | ,docstring |
| 142 | :tags '(:expensive-test) | 142 | :tags '(:expensive-test) |
| 143 | (condition-case err | ||
| 143 | (let ((temporary-file-directory | 144 | (let ((temporary-file-directory |
| 144 | auto-revert-test-remote-temporary-file-directory) | 145 | auto-revert-test-remote-temporary-file-directory) |
| 145 | (auto-revert-remote-files t) | 146 | (auto-revert-remote-files t) |
| @@ -148,7 +149,8 @@ This expects `auto-revert--messages' to be bound by | |||
| 148 | (skip-unless (auto-revert--test-enabled-remote)) | 149 | (skip-unless (auto-revert--test-enabled-remote)) |
| 149 | (tramp-cleanup-connection | 150 | (tramp-cleanup-connection |
| 150 | (tramp-dissect-file-name temporary-file-directory) nil 'keep-password) | 151 | (tramp-dissect-file-name temporary-file-directory) nil 'keep-password) |
| 151 | (funcall (ert-test-body ert-test))))) | 152 | (funcall (ert-test-body ert-test))) |
| 153 | (error (message "%s" err))))) | ||
| 152 | 154 | ||
| 153 | (ert-deftest auto-revert-test00-auto-revert-mode () | 155 | (ert-deftest auto-revert-test00-auto-revert-mode () |
| 154 | "Check autorevert for a file." | 156 | "Check autorevert for a file." |