From 8ac5833a6f1c8ead743580be583c5338c31898a0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 24 Apr 2025 16:22:13 +0300 Subject: [PATCH] ; * test/lisp/arc-mode-tests.el ("7z"): Fix 7z entry. (cherry picked from commit e38401e71bddaa16b6de4783fb90e75955faba38) --- test/lisp/arc-mode-tests.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/lisp/arc-mode-tests.el b/test/lisp/arc-mode-tests.el index f6c84db1ad8..51e8a5eba3f 100644 --- a/test/lisp/arc-mode-tests.el +++ b/test/lisp/arc-mode-tests.el @@ -133,7 +133,10 @@ member MEMBER. Then the test finds ARCHIVE and ensures that function (define-arc-mode-test-on-type "ar" '("ar" "q") "a" 'ar) -(define-arc-mode-test-on-type "7z" '("7za" "a") "7z" '7z) +(define-arc-mode-test-on-type "7z" (list (if (eq system-type 'windows-nt) + "7z" "7za") + "a") + "7z" '7z) (ert-deftest arc-mode-test-zip-ensure-ext () "Regression test for bug#61326." -- 2.39.5