Skip to content
Snippets Groups Projects
Commit 59722218 authored by Howard Chu's avatar Howard Chu
Browse files

Fix non-portable test comparison

parent e3703bfa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment