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

(ITS#4045) test023-refint & sql-test000-read buglets

Full_Name: Hallvard B Furuseth
Version: HEAD
Submission from: (NULL) (
Submitted by: hallvard

test023 and sql-test000 do

   $LDAPSEARCH ... | grep (or $EGREP_CMD) ...
   if test $RC != 0 ; then
	echo "ldapsearch failed ($RC)!"

This tests the exit status from the last command in the
pipeline instead of from ldapsearch.  They should redirect
LDAPSEARCH to a file and then grep that.

test023 also compares the $SEARCHOUT file with itself:
This usually succeeds:-)