emacs-diffs
[Top][All Lists]
Advanced

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

master 87ac0b945f: Fix Tramp test


From: Michael Albinus
Subject: master 87ac0b945f: Fix Tramp test
Date: Thu, 4 Aug 2022 05:59:28 -0400 (EDT)

branch: master
commit 87ac0b945f549008d56b42ba5582bbf468891a56
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Fix Tramp test
    
    * test/lisp/net/tramp-tests.el (tramp-test48-unload):
    Ignore autoload functions in `tramp-file-name' structure tests,
    since `tramp-file-name-handler' is also autoloaded.
---
 test/lisp/net/tramp-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 63ccd05a26..e2d4ed781b 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -7590,7 +7590,7 @@ Since it unloads Tramp, it shall be the last test to run."
   (should-not (cl--find-class 'tramp-file-name))
   (mapatoms
    (lambda (x)
-     (and (functionp x)
+     (and (functionp x) (null (autoloadp (symbol-function x)))
           (string-match-p "tramp-file-name" (symbol-name x))
           (ert-fail (format "Structure function `%s' still exists" x)))))
 



reply via email to

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