From ad99550610542f8333dc964b3bef2b9e6ad7b0f6 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 30 Nov 2017 20:31:33 +0100 Subject: [PATCH] Make tramp-test42-auto-load more robust * test/lisp/net/tramp-tests.el (tramp-test42-auto-load): Make it more robust. Don't skip. --- test/lisp/net/tramp-tests.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 8a551db7785..b0fe3f83e97 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4613,15 +4613,13 @@ process sentinels. They shall not disturb each other." (ignore-errors (cancel-timer timer)) (ignore-errors (delete-directory tmp-name 'recursive)))))) +;; This test is inspired by Bug#29163. (ert-deftest tramp-test42-auto-load () "Check that Tramp autoloads properly." - (skip-unless (tramp--test-enabled)) - (skip-unless (not (tramp--test-mock-p))) - (let ((default-directory (expand-file-name temporary-file-directory)) (code (format - "(message \"Tramp loaded: %%s\" (consp (file-attributes %S)))" + "(message \"Tramp loaded: %%s\" (and (file-remote-p %S) t))" tramp-test-temporary-file-directory))) (should (string-match -- 2.39.2