]> git.sur5r.net Git - openldap/commitdiff
ITS#8215 Make slapmodify test failures fatal
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 11 Aug 2015 12:32:44 +0000 (14:32 +0200)
committerHoward Chu <hyc@openldap.org>
Sun, 25 Oct 2015 09:05:02 +0000 (09:05 +0000)
tests/scripts/test007-slapmodify

index dd8a51363dab3fcc4df0531492ff882cf2040cb1..123ec352ec198e9ef0def26b1d4780a77e8e0951 100755 (executable)
@@ -32,9 +32,7 @@ $SLAPMODIFY -f $ADDCONF -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..."