Issue 632 - Test case portability
Summary: Test case portability
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-19 23:54 UTC by andrew.morrow@blazesoft.com
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andrew.morrow@blazesoft.com 2000-07-19 23:54:53 UTC
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.


Comment 1 Kurt Zeilenga 2000-07-20 00:23:28 UTC
At 11:54 PM 7/19/00 +0000, andrew.morrow@blazesoft.com wrote:
>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.

or send it to /dev/null...

Thanks for pointing out the -q problem.

Kurt


Comment 2 Kurt Zeilenga 2000-07-20 10:12:51 UTC
changed notes
changed state Open to Closed
moved from Incoming to Build
Comment 3 OpenLDAP project 2014-08-01 21:05:08 UTC
fixed.