From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18745: Date: Tue, 27 Oct 2015 21:14:04 +0200 Message-ID: <83611s3z0j.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445973267 24594 80.91.229.3 (27 Oct 2015 19:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 19:14:27 +0000 (UTC) Cc: 18745@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 20:14:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zr9hD-0006Ub-Cj for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 20:14:11 +0100 Original-Received: from localhost ([::1]:33923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr9hC-0007gD-Nh for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 15:14:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr9h9-0007g8-Hw for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 15:14:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr9h4-0006eX-JJ for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 15:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr9h4-0006eT-G4 for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 15:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zr9h4-0004bZ-2N for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2015 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2015 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18745-submit@debbugs.gnu.org id=B18745.144597323417681 (code B ref 18745); Tue, 27 Oct 2015 19:14:01 +0000 Original-Received: (at 18745) by debbugs.gnu.org; 27 Oct 2015 19:13:54 +0000 Original-Received: from localhost ([127.0.0.1]:40837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr9gv-0004b6-K5 for submit@debbugs.gnu.org; Tue, 27 Oct 2015 15:13:53 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:47046) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zr9gu-0004ax-1h for 18745@debbugs.gnu.org; Tue, 27 Oct 2015 15:13:52 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NWW000007RRSZ00@a-mtaout20.012.net.il> for 18745@debbugs.gnu.org; Tue, 27 Oct 2015 21:13:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWW00043832T110@a-mtaout20.012.net.il>; Tue, 27 Oct 2015 21:13:50 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108081 Archived-At: > From: Juanma Barranquero > 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?