]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 'shell-tests-split-string' on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Jul 2021 09:37:26 +0000 (12:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Jul 2021 09:37:26 +0000 (12:37 +0300)
* test/lisp/shell-tests.el (shell-tests-split-string): Skip test
that always fails on MS-Windows/MS-DOS.

test/lisp/shell-tests.el

index 1e5de71ad79023191b1f525a0cf9881fe03eae49..c4147088a2e800aa02af7d1c6f20c973b1297a56 100644 (file)
@@ -56,7 +56,8 @@
                  '("ls" "/tmp/foo bar")))
   (should (equal (split-string-shell-command "ls /tmp/'foo\\ bar'")
                  '("ls" "/tmp/foo\\ bar")))
-  (should (equal (split-string-shell-command "ls /tmp/foo\\ bar")
-                 '("ls" "/tmp/foo bar"))))
+  (unless (memq system-type '(windows-nt ms-dos))
+    (should (equal (split-string-shell-command "ls /tmp/foo\\ bar")
+                   '("ls" "/tmp/foo bar")))))
 
 ;;; shell-tests.el ends here