Problems with whitespace-ignoring diff options

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Problems with whitespace-ignoring diff options
Date: 2003-11-01 03:06:00
Message-ID: Pine.LNX.4.44.0311010358320.1528-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-11-01 03:36:11 Re: Call for port reports
Previous Message Rod Taylor 2003-11-01 01:04:34 Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5