From 5ae7dda5603c0191d62862b6c347b830f822af48 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Fri, 4 Aug 2017 22:35:29 +0900 Subject: [PATCH] Fix dired-test-bug27631 on MS-Windows Skip the test if Dired use 'ls' emulation with lisp. The same bug is tested in their respective test suites: ls-lisp-tests.el and em-ls-tests.el. * test/lisp/dired-tests.el (dired-test-bug27631): Skip test if 'ls-lisp' or 'eshell' features are enabled. --- test/lisp/dired-tests.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el index 02dbf263b9a..b14bbc63609 100644 --- a/test/lisp/dired-tests.el +++ b/test/lisp/dired-tests.el @@ -271,6 +271,10 @@ (ert-deftest dired-test-bug27631 () "Test for http://debbugs.gnu.org/27631 ." + ;; For dired using 'ls' emulation we test for this bug in + ;; ls-lisp-tests.el and em-ls-tests.el. + (skip-unless (and (not (featurep 'ls-lisp)) + (not (featurep 'eshell)))) (let* ((dir (make-temp-file "bug27631" 'dir)) (dir1 (expand-file-name "dir1" dir)) (dir2 (expand-file-name "dir2" dir)) -- 2.39.2