From 200f63cfa5904462cdcb440d4da63dfa92c666a6 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sat, 15 Jun 2019 07:23:25 +0200 Subject: [PATCH] tramp-test42-auto-load: Add expected-result. * test/lisp/net/tramp-tests.el (tramp-test42-auto-load): Expect a failed result if remote file access is not enabled, as it happens while doing the test on Windows. --- test/lisp/net/tramp-tests.el | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 70b2646cc89..03b0018298b 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4682,6 +4682,7 @@ process sentinels. They shall not disturb each other." ;; This test is inspired by Bug#29163. (ert-deftest tramp-test42-auto-load () "Check that Tramp autoloads properly." + :expected-result (if (tramp--test-enabled) :passed :failed) (let ((default-directory (expand-file-name temporary-file-directory)) (code (format -- 2.39.5