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