summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2015-11-01 00:22:13 +0100
committerJuanma Barranquero <lekktu@gmail.com>2015-11-01 19:14:27 +0100
commit3a769e173ebaaff768497dae9c430ac03aedeb94 (patch)
treea40f9d5b2dbb6b856ef06ad2df0f3018deceb61a
parentbf9e3e7711c6256febd443765afe006bfa6dcf5f (diff)
Fix incompatibility with TCC in test for bug#18745
* test/automated/process-tests.el (process-test-quoted-batfile): Remove spaces unrelated to the bug being tested.
-rw-r--r--test/automated/process-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el
index 1dab615bed..58a2de7451 100644
--- a/test/automated/process-tests.el
+++ b/test/automated/process-tests.el
@@ -61,15 +61,15 @@
;; to force quoting.
(setq batfile (make-temp-file "echo args" nil ".bat"))
(with-temp-file batfile
- (insert "@echo arg1 = %1, arg2 = %2\n"))
+ (insert "@echo arg1=%1, arg2=%2\n"))
(with-temp-buffer
(call-process batfile nil '(t t) t "x &y")
- (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n")))
+ (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n")))
(with-temp-buffer
(call-process-shell-command
(mapconcat #'shell-quote-argument (list batfile "x &y") " ")
nil '(t t) t)
- (should (string= (buffer-string) "arg1 = \"x &y\", arg2 = \n"))))
+ (should (string= (buffer-string) "arg1=\"x &y\", arg2=\n"))))
(when batfile (delete-file batfile))))))
(ert-deftest process-test-stderr-buffer ()