]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test007-slapmodify
ITS#8291 Enable slapmodify logging in tests
[openldap] / tests / scripts / test007-slapmodify
index dd8a51363dab3fcc4df0531492ff882cf2040cb1..98b032450eefef1baf62b2f33995b7d616118516 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2015 The OpenLDAP Foundation.
+## Copyright 1998-2017 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -28,13 +28,11 @@ if test $RC != 0 ; then
 fi
 
 echo "Testing modify, add, and delete using slapmodify..."
-$SLAPMODIFY -f $ADDCONF -l $LDIFMODIFY > $TESTOUT 2>&1
+$SLAPMODIFY -f $ADDCONF -d $LVL -l $LDIFMODIFY > $TESTOUT 2>&1
 RC=$?
 if test $RC != 0 ; then
        echo "slapmodify failed ($RC)!"
-#      exit $RC
-       echo "exiting with false success status now"
-       exit 0
+       exit $RC
 fi
 
 echo "Starting slapd on TCP/IP port $PORT1..."