Subject: bug#14493: MSYS line ending problem in t/cxx-demo.sh

From: Peter Rosin <[email-masked]>
Date: Wed, 29 May 2013 01:43:25 +0200

Hi!

I have this interesting log snippet from a failed run of t/cxx-demo.sh
on the master branch (commit baf8a1c22acce0908):

+ for p in play work
+ ./play
+ cat exp.play
We are playing :-)
Howdy, play!
+ cat got.play
We are playing :-)
Howdy, play!
+ diff exp.play got.play
1,2c1,2
< We are playing :-)
< Howdy, play!
---
> We are playing :-)
> Howdy, play!
+ am_exit_trap 1
+ exit_status=1

This is on MSYS, and I strongly suspect a line ending discrepancy.
The output from ./play is likely to have CRNL line endings, while
exp.play is likely to have NL line endings. diff then barfs.

Cheers,
Peter