diff --git a/test/lisp/shell-tests.el b/test/lisp/shell-tests.el index 1e5de71ad79..c4147088a2e 100644 --- a/test/lisp/shell-tests.el +++ b/test/lisp/shell-tests.el @@ -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