emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master acf583b: Fix 'shell-tests-split-string' on MS-Windows


From: Eli Zaretskii
Subject: master acf583b: Fix 'shell-tests-split-string' on MS-Windows
Date: Thu, 15 Jul 2021 05:38:17 -0400 (EDT)

branch: master
commit acf583b209549cb533ca6436e5178f4f60027aa4
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 1e5de71..c414708 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]