emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 200f63c: tramp-test42-auto-load: Add expected-res


From: Juanma Barranquero
Subject: [Emacs-diffs] emacs-26 200f63c: tramp-test42-auto-load: Add expected-result.
Date: Sat, 15 Jun 2019 01:24:50 -0400 (EDT)

branch: emacs-26
commit 200f63cfa5904462cdcb440d4da63dfa92c666a6
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>

    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 70b2646..03b0018 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]