Problems with whitespace-ignoring diff options - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Problems with whitespace-ignoring diff options
Date
Msg-id Pine.LNX.4.44.0311010358320.1528-100000@peter.localdomain
Whole thread Raw
Responses Re: Problems with whitespace-ignoring diff options
List pgsql-hackers
On OpenBSD 3.4, the diff options -b and -w have the interesting feature
(actually listed as a bug) that they ignore whitespace for preparing the
diff, but the exit status will be 1 nonetheless, if the files are at all
different.  This leads to several failures in the current regression
tests, because the expected files are off by some whitespace.

It appears we must not use the options for determining whether the test
failed, only for creating the diff output.  Or does anyone have a better
idea?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Rod Taylor
Date:
Subject: Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5
Next
From: Peter Eisentraut
Date:
Subject: Re: Call for port reports