Re: tests fail on windows with default git settings - Mailing list pgsql-hackers

From Andres Freund
Subject Re: tests fail on windows with default git settings
Date
Msg-id 20240709163507.fnndqaas2bo2333z@awork3.anarazel.de
Whole thread Raw
In response to Re: tests fail on windows with default git settings  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Hi,

On 2024-07-09 06:26:12 -0400, Andrew Dunstan wrote:
> On 2024-07-08 Mo 5:44 PM, Andres Freund wrote:
> > > What I suggest (see attached) is we run the diff command with
> > > --strip-trailing-cr on Windows. Then we just won't care if the expected file
> > > and/or the output file has CRs.
> > I was wondering about that too, but I wasn't sure we can rely on that flag
> > being supported...
> > 
> 
> Well, my suggestion was to use it only on Windows. I'm using the diffutils
> from chocolatey, which has it, as does Msys2 diff. Not sure what you have in
> the CI setup.

IIRC it's git's, which in turn is based on msys/mingw.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: tests fail on windows with default git settings
Next
From: Alvaro Herrera
Date:
Subject: Re: why there is not VACUUM FULL CONCURRENTLY?