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

Test case portability (ITS#632)



Full_Name: Andrew Morrow
Version: Current CVS (July 15)
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (204.162.77.4)



The (diff -q) flag is peculiar to GNU diff and is not ubiquitous to all UNIX
platforms or even the popular commercial versions of UNIX.

You reference it in

	ldap/tests/scripts/defines.sh

$OpenLDAP: pkg/ldap/tests/scripts/defines.sh,v 1.40 2000/07/15 22:14:08 kurt Exp
$

so you may want to change the line from

	CMP="diff -i -q"

to

	CMP="diff -i"

and just live with the occasionally less-quiet output.