]> git.sur5r.net Git - openldap/commitdiff
Fix success test on last comparison
authorHoward Chu <hyc@openldap.org>
Fri, 17 May 2002 08:24:53 +0000 (08:24 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 17 May 2002 08:24:53 +0000 (08:24 +0000)
tests/scripts/test005-modrdn

index 967bb2cf19cce7ecad6e6e981c54d5fe6688331c..ef4b1520a027a17e67f7d0e40456b755a8270622 100755 (executable)
@@ -214,11 +214,12 @@ echo "Filtering original ldif used to create database..."
 echo "Comparing filter output..."
 $CMP $SEARCHFLT $LDIFFLT > $CMPOUT
 
-kill -HUP $PID
 if test $? != 0 ; then
        echo "comparison failed - modrdn operations did not complete correctly"
+       kill -HUP $PID
        exit 1
 fi
+kill -HUP $PID
 
 echo ">>>>> Test succeeded"