[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e208d67: Fix wdired test for Macos

From: Lars Ingebrigtsen
Subject: master e208d67: Fix wdired test for Macos
Date: Tue, 4 Aug 2020 08:30:26 -0400 (EDT)

branch: master
commit e208d67e8401b8e08d697273e6e162b1e4620005
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix wdired test for Macos
    * test/lisp/wdired-tests.el (wdired-test-bug34915): Macos adds "@"
    to the end of symlinks (bug#42537).
 test/lisp/wdired-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el
index 5b01c54..fcd8b62 100644
--- a/test/lisp/wdired-tests.el
+++ b/test/lisp/wdired-tests.el
@@ -132,7 +132,7 @@ wdired-mode."
 (declare-function dired-smart-shell-command "dired-x"
                   (command &optional output-buffer error-buffer))
-(ert-deftest wdired-test-bug34915 ()
+(defun wdired-test-bug34915 ()
   "Test editing when dired-listing-switches includes -F.
 Appended file indicators should not count as part of the file
 name, either before or after editing.  Since
@@ -143,6 +143,7 @@ wdired-get-filename before and after editing."
   (let* ((test-dir (make-temp-file "test-dir-" t))
          (server-socket-dir test-dir)
          (dired-listing-switches "-Fl")
+         (dired-ls-F-marks-symlinks (eq system-type 'darwin))
          (buf (find-file-noselect test-dir)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]