[Date Prev][Date Next]
(ITS#4045) test023-refint & sql-test000-read buglets
Full_Name: Hallvard B Furuseth
Submission from: (NULL) (188.8.131.52)
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:
$CMP $SEARCHOUT $SEARCHOUT > $CMPOUT
This usually succeeds:-)