Add a couple more shell-tests-split-string tests
This commit is contained in:
@@ -54,6 +54,10 @@
|
||||
'("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")))
|
||||
(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))
|
||||
|
||||
Reference in New Issue
Block a user