From fc00ecfce8852b0326c16d8a9f0ef2186e563435 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 23 Apr 2022 18:37:27 +0200 Subject: [PATCH] Fix elc.gz loading test some more --- test/lisp/files-tests.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el index 1633f3b34cf..7d17fbde672 100644 --- a/test/lisp/files-tests.el +++ b/test/lisp/files-tests.el @@ -1844,6 +1844,7 @@ Prompt users for any modified buffer with `buffer-offer-save' non-nil." (should (documentation 'zot)) (byte-compile-file el) + (fmakunbound 'foo) (should (load (concat pref ".elc") t)) (should (fboundp 'foo)) (should (documentation 'foo)) @@ -1851,6 +1852,7 @@ Prompt users for any modified buffer with `buffer-offer-save' non-nil." (should (documentation 'zot)) (dired-compress-file (concat pref ".elc")) + (fmakunbound 'foo) (should (load (concat pref ".elc.gz") t)) (should (fboundp 'foo)) ;; This fails due to bug#12598. -- 2.39.5