From 0e0e858ffda4c830613ff1046607643129b1bde7 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Tue, 20 Mar 2007 19:30:03 +0000
Subject: [PATCH] 1. fix authentication issue for send-mail targets
---
opendj-sdk/opends/tests/functional-tests/staf-installer.xml | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml b/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
index 1354c05..b88a6bd 100644
--- a/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
+++ b/opendj-sdk/opends/tests/functional-tests/staf-installer.xml
@@ -624,8 +624,16 @@
</target>
<target name="send-mail" if="email.send">
- <condition property="email.send.auth">
- <length string="${email.server.user}" when="greater" length="0"/>
+ <condition property="email.send.noauth">
+ <or>
+ <not>
+ <isset property="email.server.user"/>
+ </not>
+ <not>
+ <length string="${email.server.user}" when="greater"
+ trim="true" length="0"/>
+ </not>
+ </or>
</condition>
<antcall target="send-mail-noauth"/>
<antcall target="send-mail-withauth"/>
@@ -955,4 +963,5 @@
<target name="properties">
<echoproperties/>
</target>
+
</project>
--
Gitblit v1.10.0