Opened 13 years ago

Closed 13 years ago

#704 closed defect (fixed)

eol-style setting on regression expected files is wrong

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.3
Component: postgis Version: 1.5.X
Keywords: Cc:

Description

Okay I think I have narrowed my issues with testing the sql regress files to whenever any of you makes changes to these files, the file from then on fails for me.

It seems that some of these have svn tag and some do not

svn:eol-style=native

That doesn't work. E.g. regress_expected has that and anytime anyone changes it, I have to resave the file.

Shouldn't all the _expected files be marked

svn:eol-style=LF

PostgreSQL as far as I can tell (unless I change the default configuration — even the windows version will always output with LF and not CRLF unless I explicitly change in the config).

Change History (4)

comment:1 by mcayland, 13 years ago

Hmmm I remember at the time I had issues with this with older versions of PostgreSQL, but they could well have been fixed now. My normal plan was to run dos2unix.exe on the SVN regression directory before a "make check" which seemed the lesser of all evils, but please go with what works for you.

comment:2 by robe, 13 years ago

Okay I've experimented by changing regress_expected to LF on just trunk. We'll see if that fixes it. I think if it works for me — if its likely to screw anyone it will be Paul since he's running on MacOSX I presume which has different line breaks from Linux/Unix.

I'll see next time someone changes that file.

comment:3 by pramsey, 13 years ago

OSX uses UNIX linefeeds, it's all good.

comment:4 by robe, 13 years ago

Resolution: fixed
Status: newclosed

Okay done this for all expected files in trunk and 1.5 branch.

Note: See TracTickets for help on using tickets.