From acf583b209549cb533ca6436e5178f4f60027aa4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 15 Jul 2021 12:37:26 +0300 Subject: [PATCH] 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. --- test/lisp/shell-tests.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5