From adf7c5f9070ac56cdee1c3e7247df7e120a0c3ee Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Tue, 28 Jun 2011 12:46:19 +0000
Subject: [PATCH] add replication ECL consistency tests
---
opends/tests/staf-tests/shared/functions/utils.xml | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index f3307c2..72d0d58 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -24,6 +24,7 @@
! CDDL HEADER END
!
! Copyright 2007-2010 Sun Microsystems, Inc.
+ ! Portions Copyright 2011 ForgeRock AS.
! -->
<stax>
<function name="checkRC">
@@ -4106,5 +4107,32 @@
</sequence>
</function>
+<!-- TestStep -->
+ <function name="testStep">
+ <function-prolog>
+ This function print out a test step.
+ </function-prolog>
+
+ <function-map-args>
+ <function-arg-def name="stepMessage" type="required">
+ <function-arg-description>
+ test step message to display
+ </function-arg-description>
+ </function-arg-def>
+ </function-map-args>
+ <sequence>
+ <script>
+ try:
+ stepNumber=stepNumber
+ except NameError:
+ stepNumber=1
+ </script>
+ <message>'*** Step%s: %s' % (stepNumber,stepMessage)</message>
+ <script>
+ stepNumber += 1
+ </script>
+ </sequence>
+ </function>
+
</stax>
--
Gitblit v1.10.0