]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/arc-mode-tests.el ("7z"): Fix 7z entry.
authorEli Zaretskii <eliz@gnu.org>
Thu, 24 Apr 2025 13:22:13 +0000 (16:22 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Apr 2025 17:30:00 +0000 (19:30 +0200)
(cherry picked from commit e38401e71bddaa16b6de4783fb90e75955faba38)

test/lisp/arc-mode-tests.el

index f6c84db1ad8a7a652c4548f9436c718cbf7d2173..51e8a5eba3fc8fef80164214c412fa08ac790837 100644 (file)
@@ -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."