From 59722218363d9a36eb7786ef89f53eefdae1e209 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 29 Apr 2005 00:50:36 +0000 Subject: [PATCH] Fix non-portable test comparison --- tests/scripts/test005-modrdn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5