diff options
| author | Lars Ingebrigtsen | 2021-07-16 01:42:49 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-07-16 01:42:55 +0200 |
| commit | 1cd278bfcd7970ebe7f00ec5bd692ecea031ec6d (patch) | |
| tree | 8faaee1398674caa5b5053431e8bf5b1fa9c5e69 | |
| parent | 653848a277ea887fd9f4dde382570ca6829a8608 (diff) | |
| download | emacs-1cd278bfcd7970ebe7f00ec5bd692ecea031ec6d.tar.gz emacs-1cd278bfcd7970ebe7f00ec5bd692ecea031ec6d.zip | |
Add a couple more shell-tests-split-string tests
| -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)) |