From: Eli Zaretskii Date: Thu, 15 Jul 2021 09:37:26 +0000 (+0300) Subject: Fix 'shell-tests-split-string' on MS-Windows X-Git-Tag: emacs-28.0.90~1857 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=acf583b209549cb533ca6436e5178f4f60027aa4;p=emacs.git 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. --- 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