From: Juanma Barranquero Date: Sat, 31 Oct 2015 23:22:13 +0000 (+0100) Subject: Fix incompatibility with TCC in test for bug#18745 X-Git-Tag: emacs-25.0.90~938 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a769e173ebaaff768497dae9c430ac03aedeb94;p=emacs.git 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. --- diff --git a/test/automated/process-tests.el b/test/automated/process-tests.el index 1dab615bed0..58a2de7451d 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 ()