diff --git a/tests/scripts/test009-referral b/tests/scripts/test009-referral index 2df3fde1eb..c359aede5f 100755 --- a/tests/scripts/test009-referral +++ b/tests/scripts/test009-referral @@ -148,7 +148,7 @@ fi echo "Testing dontUseCopy control..." $LDAPSEARCH -C -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT2 \ -E \!dontUseCopy \ - 'sn=jensen' >! $SEARCHOUT + 'sn=jensen' >> $SEARCHOUT RC=$? if test $RC = 10 ; then echo "ldapsearch failed as expected ($RC)"