aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2019-06-15 07:23:25 +0200
committerJuanma Barranquero2019-06-15 07:23:25 +0200
commit200f63cfa5904462cdcb440d4da63dfa92c666a6 (patch)
tree4a824f37fad23c1c41d946b3bc2d7b3bf099f47b
parent7a8f22b00484e2c1a28b48767b8562c6b6e89e06 (diff)
downloademacs-200f63cfa5904462cdcb440d4da63dfa92c666a6.tar.gz
emacs-200f63cfa5904462cdcb440d4da63dfa92c666a6.zip
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.
-rw-r--r--test/lisp/net/tramp-tests.el1
1 files changed, 1 insertions, 0 deletions
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."
4682;; This test is inspired by Bug#29163. 4682;; This test is inspired by Bug#29163.
4683(ert-deftest tramp-test42-auto-load () 4683(ert-deftest tramp-test42-auto-load ()
4684 "Check that Tramp autoloads properly." 4684 "Check that Tramp autoloads properly."
4685 :expected-result (if (tramp--test-enabled) :passed :failed)
4685 (let ((default-directory (expand-file-name temporary-file-directory)) 4686 (let ((default-directory (expand-file-name temporary-file-directory))
4686 (code 4687 (code
4687 (format 4688 (format