--- openldap-2.4.12/tests/scripts/orig.test001-slapadd 2008-02-12 01:26:50.000000000 +0200 +++ openldap-2.4.12/tests/scripts/test001-slapadd 2008-11-04 10:13:54.000000000 +0200 @@ -71,6 +71,15 @@ exit 1 fi +echo "Testing database export with slapcat..." +$SLAPCAT -f $CONF1 > $SEARCHOUT +$SLAPCAT -f $CONF1 > $SEARCHOUT +if [ "`wc -l < $SEARCHOUT`" == 0 ] +then + echo "slapcat failed" + exit 1 +fi + echo ">>>>> Test succeeded" test $KILLSERVERS != no && wait