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

Re: (ITS#3969) SunOS' diff doesn't like -u



Kurt@OpenLDAP.org writes:
>> Most commercial Unix systems do not support it; it was only commonly
>> established in the last versions of GNU diff. The only sure thing
>> will be to use -c.
>
> Some diff(1) implementations don't support -c.

As far as I can tell, diff is only used to show the user differences
from a failed test.  (test001-slapadd, test011-glue-slapadd.)  So it
should be OK to use whatever option is available: Let a configure test
pick -u if that works, otherwise -c if that works, otherwise nothing.

-- 
Hallvard