From e14ed0ae5032b80c3ee37ca440c757723403ae25 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Thu, 08 Mar 2012 17:13:25 +0000
Subject: [PATCH] Re-write of password policy functional tests part 1
---
opends/tests/staf-tests/shared/functions/utils.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index 633cc93..b198112 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -1937,6 +1937,11 @@
Wildcard 'noCheck' to not check the RC
</function-arg-description>
</function-arg-def>
+ <function-arg-def name="expectedString" type="optional" default="None">
+ <function-arg-description>
+ Expected return string value.
+ </function-arg-description>
+ </function-arg-def>
<function-arg-def name="knownIssue" type="optional" default="None">
<function-arg-description>
Known issue. Corresponds to an issue number.
@@ -2066,6 +2071,13 @@
}
</call>
</if>
+
+ <if expr="expectedString">
+ <call function="'checktestString'">
+ { 'returnString' : cmdOutput ,
+ 'expectedString' : expectedString }
+ </call>
+ </if>
</sequence>
</timer>
--
Gitblit v1.10.0