diff options
| -rw-r--r-- | test/lisp/shell-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/shell-tests.el b/test/lisp/shell-tests.el index c4147088a2e..223a18590b1 100644 --- a/test/lisp/shell-tests.el +++ b/test/lisp/shell-tests.el | |||
| @@ -54,6 +54,10 @@ | |||
| 54 | '("ls" "/tmp/foo bar"))) | 54 | '("ls" "/tmp/foo bar"))) |
| 55 | (should (equal (split-string-shell-command "ls /tmp/'foo bar'") | 55 | (should (equal (split-string-shell-command "ls /tmp/'foo bar'") |
| 56 | '("ls" "/tmp/foo bar"))) | 56 | '("ls" "/tmp/foo bar"))) |
| 57 | (should (equal (split-string-shell-command "ls /tmp/'foo\"bar'") | ||
| 58 | '("ls" "/tmp/foo\"bar"))) | ||
| 59 | (should (equal (split-string-shell-command "ls /tmp/\"foo''bar\"") | ||
| 60 | '("ls" "/tmp/foo''bar"))) | ||
| 57 | (should (equal (split-string-shell-command "ls /tmp/'foo\\ bar'") | 61 | (should (equal (split-string-shell-command "ls /tmp/'foo\\ bar'") |
| 58 | '("ls" "/tmp/foo\\ bar"))) | 62 | '("ls" "/tmp/foo\\ bar"))) |
| 59 | (unless (memq system-type '(windows-nt ms-dos)) | 63 | (unless (memq system-type '(windows-nt ms-dos)) |