Skip to content

Commit acf583b

Browse files
committed
Fix 'shell-tests-split-string' on MS-Windows
* test/lisp/shell-tests.el (shell-tests-split-string): Skip test that always fails on MS-Windows/MS-DOS.
1 parent 07392da commit acf583b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/lisp/shell-tests.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
'("ls" "/tmp/foo bar")))
5757
(should (equal (split-string-shell-command "ls /tmp/'foo\\ bar'")
5858
'("ls" "/tmp/foo\\ bar")))
59-
(should (equal (split-string-shell-command "ls /tmp/foo\\ bar")
60-
'("ls" "/tmp/foo bar"))))
59+
(unless (memq system-type '(windows-nt ms-dos))
60+
(should (equal (split-string-shell-command "ls /tmp/foo\\ bar")
61+
'("ls" "/tmp/foo bar")))))
6162

6263
;;; shell-tests.el ends here

0 commit comments

Comments
 (0)