1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00

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.
This commit is contained in:
Juanma Barranquero 2019-06-15 07:23:25 +02:00
parent 7a8f22b004
commit 200f63cfa5

View file

@ -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