Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1cd278bf
Commit
1cd278bf
authored
Jul 16, 2021
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
test/lisp/shell-tests.el
test/lisp/shell-tests.el
+4
-0
No files found.
test/lisp/shell-tests.el
View file @
1cd278bf
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment