mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 13:41:30 -08:00
Add a couple more shell-tests-split-string tests
This commit is contained in:
parent
653848a277
commit
1cd278bfcd
1 changed files with 4 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue