Fix non-portable test comparison

This commit is contained in:
Howard Chu 2005-04-29 00:50:36 +00:00
parent e3703bfaab
commit 5972221836

View file

@ -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