]> git.sur5r.net Git - openldap/commitdiff
ITS#6979 clean up previous test062 fix
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 30 Nov 2011 11:00:43 +0000 (12:00 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 30 Nov 2011 11:00:43 +0000 (12:00 +0100)
tests/scripts/test062-config-delete

index 82608ac5e873111a8ed006d8fc3a9b77e4769b3d..97cc241267f195a51b66c59319afac50f0668747 100755 (executable)
@@ -139,7 +139,7 @@ if test -f "$RCOUT" ; then
        wait $SEARCHPID
        SEARCHRC=`cat $RCOUT`
        echo "Checking return code of backgrounded RefreshAndPersist search ..."
-       if test $SEARCHRC != 52 ; then
+       if test 52 != "$SEARCHRC" ; then
                echo "Error: Backgrounded ldapsearch returned the wrong error code: $SEARCHRC"
                RC=1
        else