From 75ace4eb028a63acfc8d6933eaa4f209400ace8f Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 22 May 2008 11:06:00 +0000
Subject: [PATCH] use percentage result for specific phase (scheduler,verdict)

---
 opends/tests/system-tests/phases/shared/functions/ldap.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/opends/tests/system-tests/phases/shared/functions/ldap.xml b/opends/tests/system-tests/phases/shared/functions/ldap.xml
index dcbb138..8ced8cf 100755
--- a/opends/tests/system-tests/phases/shared/functions/ldap.xml
+++ b/opends/tests/system-tests/phases/shared/functions/ldap.xml
@@ -262,6 +262,8 @@
             if instanceIndex != lastIndex:
               instance2 = instances[instanceIndex + 1]
       </script>
+      
+      
       <if expr="instance2 != NOT_DEFINED">
         <sequence>
           <call function="'writeStartTagStep'">
@@ -323,12 +325,12 @@
             ldapSearchRC = STAXResult[0]
           </script>
           
-          <if expr="(ldapSearchRC == 0) or (ldapSearchRC == 4)">
+          <if expr="ldapSearchRC != 0">
             <!-- == If the reference tree could not be retrieved,  == -->
             <!-- == return an error                                == -->
             <sequence>
               <call function="'writeEndTagStep'">{ 'fileFd' : fileFd}</call>
-              <return> [1, None] </return>
+              <return> [FALSE, None] </return>
             </sequence>
           </if>
           
@@ -354,7 +356,7 @@
             ldapSearchRC = STAXResult[0]
           </script>
           
-          <if expr="(ldapSearchRC == 0) or (ldapSearchRC == 4)">
+          <if expr="ldapSearchRC == 0">
             <sequence>
               <!-- == Check if file is empty == -->
               <call function="'isEmptyFile'">

--
Gitblit v1.10.0