From 80ac0c8c22b07ebe25769b4e1597938d40d7a3a2 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Thu, 01 Aug 2013 16:22:34 +0000
Subject: [PATCH] Fixed condition for known issue OPENDJ-1071: only set known issue if expectedRC is equal to 0

---
 opends/tests/staf-tests/shared/functions/utils.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index 9b31c49..92c2cf5 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -2103,7 +2103,7 @@
             if re.search('.*There are no tasks defined with ID.*', cmdOutput) is not None:
               setIssue = True
           </script>
-          <if expr="setIssue == True">
+          <if expr="setIssue == True and expectedRC == 0">
             <sequence>
               <call function="'setKnownIssue'">
                 { 'issueId' : 'OPENDJ-1071' }

--
Gitblit v1.10.0