]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/wdired-tests.el (wdired-test-bug34915): Fix for *BSD.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 7 Dec 2024 14:14:00 +0000 (15:14 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 9 Dec 2024 12:47:39 +0000 (13:47 +0100)
(Bug#74721)

(cherry picked from commit 69191aeefdb0fec0722dbbe29a72ad2af9053f87)

test/lisp/wdired-tests.el

index 7c7026354b8a63b6afee00aba338cd6ec9eafc61..306227009399bd989cdd224dbb7f489d36751517 100644 (file)
@@ -142,7 +142,8 @@ wdired-get-filename before and after editing."
   (ert-with-temp-directory test-dir
     (let* ((dired-listing-switches "-Fl")
            (dired-ls-F-marks-symlinks
-            (or (eq system-type 'darwin)
+            (or (and (memq system-type '(berkeley-unix darwin))
+                    (not (string= insert-directory-program "gls")))
                 (featurep 'ls-lisp)))
            (buf (find-file-noselect test-dir))
            proc)