Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group