From: Howard Chu Date: Fri, 29 Apr 2005 00:50:36 +0000 (+0000) Subject: Fix non-portable test comparison X-Git-Tag: OPENLDAP_AC_BP~768 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59722218363d9a36eb7786ef89f53eefdae1e209;p=openldap Fix non-portable test comparison --- diff --git a/tests/scripts/test005-modrdn b/tests/scripts/test005-modrdn index 389dd38b64..955391aefa 100755 --- a/tests/scripts/test005-modrdn +++ b/tests/scripts/test005-modrdn @@ -223,7 +223,7 @@ $LDAPMODRDN -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ 'cn=James A Jones 1, ou=Alumni Association, ou=People, dc=example, dc=com' 'cn=James A Jones 1' RC=$? -if test $RC == 0 ; then +if test $RC -eq 0 ; then echo "ldapmodrdn succeeded, should have failed!" test $KILLSERVERS != no && kill -HUP $KILLPIDS exit 1