Subject: Re: bug#18745:

From: Eli Zaretskii <[email-masked]>
Date: Tue, 27 Oct 2015 21:14:04 +0200

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 27 Oct 2015 12:49:01 +0100
> 
> process-test-quoted-batfile fails on my Windows 10 Home
> 
> F process-test-quoted-batfile
> Check that Emacs hides CreateProcess deficiency (bug#18745).
> (ert-test-failed
> ((should
> (string=
> (buffer-string)
> "arg1 = \"x &y\", arg2 = 
> "))
> :form
> (string= "arg1 = \"x &y\", arg2 =
> " "arg1 = \"x &y\", arg2 = 
> ")
> :value nil))
> 
> The result lacks the trailing space before the \n.
> 
> "arg1 = \"x &y\", arg2 =\n"
> 
> instead of
> 
> "arg1 = \"x &y\", arg2 = \n"

Do you see the same result if you invoke 'echo' from the cmd prompt?
IOW, does this mean Windows 10 changed the behavior of the built-in
'echo', and it now removes trailing whitespace from its argument?  If
that's the reason, how about modifying the test so that it expects the
correct result depending on the value returned by x-server-version?