From 87ac0b945f549008d56b42ba5582bbf468891a56 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 4 Aug 2022 11:59:18 +0200 Subject: [PATCH] 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 63ccd05a263..e2d4ed781bb 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))))) -- 2.39.2