aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Calancha2017-08-04 22:35:29 +0900
committerTino Calancha2017-08-04 22:35:29 +0900
commit5ae7dda5603c0191d62862b6c347b830f822af48 (patch)
treeaf76edbf671cf6ef6e0918bd9fd271431c9e289e
parentbc6ab63653fe2c07743ab4c6d864a4975bbf55ec (diff)
downloademacs-5ae7dda5603c0191d62862b6c347b830f822af48.tar.gz
emacs-5ae7dda5603c0191d62862b6c347b830f822af48.zip
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.
-rw-r--r--test/lisp/dired-tests.el4
1 files changed, 4 insertions, 0 deletions
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 @@
271 271
272(ert-deftest dired-test-bug27631 () 272(ert-deftest dired-test-bug27631 ()
273 "Test for http://debbugs.gnu.org/27631 ." 273 "Test for http://debbugs.gnu.org/27631 ."
274 ;; For dired using 'ls' emulation we test for this bug in
275 ;; ls-lisp-tests.el and em-ls-tests.el.
276 (skip-unless (and (not (featurep 'ls-lisp))
277 (not (featurep 'eshell))))
274 (let* ((dir (make-temp-file "bug27631" 'dir)) 278 (let* ((dir (make-temp-file "bug27631" 'dir))
275 (dir1 (expand-file-name "dir1" dir)) 279 (dir1 (expand-file-name "dir1" dir))
276 (dir2 (expand-file-name "dir2" dir)) 280 (dir2 (expand-file-name "dir2" dir))