X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Frelay;h=c893bfc2bbc378d82bc766111455d9858c6de294;hb=1adc0b9b1c39ac588adf22acf46f30e24b802682;hp=4530f486de8fac9ccd72c5d7de271d0302655323;hpb=0f86c2e8eb07910670ab5262d470efaf6c497898;p=openldap diff --git a/tests/scripts/relay b/tests/scripts/relay index 4530f486de..c893bfc2bb 100755 --- a/tests/scripts/relay +++ b/tests/scripts/relay @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 1998-2009 The OpenLDAP Foundation. +## Copyright 1998-2011 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -386,11 +386,10 @@ $LDAPCOMPARE -h $LOCALHOST -p $PORT1 \ "cn=Added User,ou=Alumni Association,ou=People,$BASEDN" \ "seeAlso:cn=All Staff,ou=Groups,$BASEDN" >> $TESTOUT 2>&1 RC=$? -if test $RC != 6 ; then +if test $RC != 6 && test $RC,$BACKEND != 5,null ; then echo "Compare failed ($RC)!" test $KILLSERVERS != no && kill -HUP $KILLPIDS - exit $RC + exit 1 fi test $KILLSERVERS != no && kill -HUP $KILLPIDS -