Commit 1cd278bf authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Add a couple more shell-tests-split-string tests

parent 653848a2
Pipeline #11430 failed with stages
in 1 minute and 17 seconds
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment