]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test062-config-delete
Merge remote-tracking branch 'origin/mdb.RE/0.9'
[openldap] / tests / scripts / test062-config-delete
index 82608ac5e873111a8ed006d8fc3a9b77e4769b3d..262264e9b60205c8383a0bdc043341596b186c1f 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2011 The OpenLDAP Foundation.
+## Copyright 1998-2015 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -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