[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: BUG: tests/scripts/defines.sh has bad DIFF line

Try to build a GNU diff from ftp://ftp.gnu.org/gnu/diffutils/diffutils-2.8.1.tar.gz
and try again.
Or download a diffutils package from http://sunfreeware.com/.


On Thu, 26 Sep 2002, Andrew Diederich wrote:

> I've spent some time with the test scripts in tracking down my problems.  It
> looks like the tests/scripts/defines.sh has an incorrect diff line.  I found
> this when running 'make test' on 2.1.4, and it failed on test001-slapadd
> (diff: illegal option --u)
> diff on solaris does not have the -u option.  diff on my SuSE box does, and
> it's for unified diff output.
> The line is 43, and looks like: DIFF="diff -iu"
> The defines.sh is in the original tar file, and is not generated with
> ./configure.  It doesn't fix my problem in running tests with 2.1.4 or 2.1.5
> (and .4 even core dumps), but it is a bug.  (I tried just removing the u,
> but of course the script really expects it.)
> --
> Andrew Diederich