diff options
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index bb1bafa789f..58639e1bfa6 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -149,6 +149,7 @@ handled properly. BODY shall not contain a timeout." | |||
| 149 | (debug-ignored-errors | 149 | (debug-ignored-errors |
| 150 | (cons "^make-symbolic-link not supported$" debug-ignored-errors)) | 150 | (cons "^make-symbolic-link not supported$" debug-ignored-errors)) |
| 151 | inhibit-message) | 151 | inhibit-message) |
| 152 | (message "tramp--test-instrument-test-case %s" tramp-verbose) | ||
| 152 | (unwind-protect | 153 | (unwind-protect |
| 153 | (let ((tramp--test-instrument-test-case-p t)) ,@body) | 154 | (let ((tramp--test-instrument-test-case-p t)) ,@body) |
| 154 | ;; Unwind forms. | 155 | ;; Unwind forms. |
| @@ -3911,8 +3912,8 @@ Since it unloads Tramp, it shall be the last test to run." | |||
| 3911 | (should-not (cl--find-class 'tramp-file-name)) | 3912 | (should-not (cl--find-class 'tramp-file-name)) |
| 3912 | (mapatoms | 3913 | (mapatoms |
| 3913 | (lambda (x) | 3914 | (lambda (x) |
| 3914 | (and (string-match "tramp-file-name" (symbol-name x)) | 3915 | (and (functionp x) |
| 3915 | (functionp x) | 3916 | (string-match "tramp-file-name" (symbol-name x)) |
| 3916 | (ert-fail (format "Structure function `%s' still exists" x))))) | 3917 | (ert-fail (format "Structure function `%s' still exists" x))))) |
| 3917 | ;; There shouldn't be left a hook function containing a Tramp | 3918 | ;; There shouldn't be left a hook function containing a Tramp |
| 3918 | ;; function. We do not regard the Tramp unload hooks. | 3919 | ;; function. We do not regard the Tramp unload hooks. |