summaryrefslogtreecommitdiff
path: root/test/lisp/autorevert-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/autorevert-tests.el')
-rw-r--r--test/lisp/autorevert-tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el
index af9edac1bea..0cc5b9c4e9d 100644
--- a/test/lisp/autorevert-tests.el
+++ b/test/lisp/autorevert-tests.el
@@ -148,7 +148,9 @@ This expects `auto-revert--messages' to be bound by
(skip-unless (auto-revert--test-enabled-remote))
(tramp-cleanup-connection
(tramp-dissect-file-name temporary-file-directory) nil 'keep-password)
- (funcall (ert-test-body ert-test)))))
+ (condition-case err
+ (funcall (ert-test-body ert-test))
+ (error (message "%s" err) (signal car err cdr err))))))
(ert-deftest auto-revert-test00-auto-revert-mode ()
"Check autorevert for a file."