From f9de0f451ec2232bdd19ad10780b3e09b3d6ddee Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 18 Mar 2008 18:43:24 +0000
Subject: [PATCH] detail pre/post conf example in sample2 scenario
---
opends/tests/system-tests/scenario/sample2/pre_configuration.xml | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/opends/tests/system-tests/scenario/sample2/pre_configuration.xml b/opends/tests/system-tests/scenario/sample2/pre_configuration.xml
index e81b8ab..90db05b 100644
--- a/opends/tests/system-tests/scenario/sample2/pre_configuration.xml
+++ b/opends/tests/system-tests/scenario/sample2/pre_configuration.xml
@@ -44,18 +44,44 @@
</function-map-args>
<sequence>
- <!-- == Call preambule == -->
+ <!-- ================= Call preambule ======================== -->
<call function="'phasePreamble'">
- { 'phaseName' : 'preconfiguration' ,
+ { 'phaseName' : 'preconfiguration',
'fileFd' : LOG_MAIN_FD }
</call>
+ <!-- ================= Display instance names ================ -->
+ <iterate in="instances" var="instance">
+ <sequence>
+ <!-- == Write tag for xml report -->
+ <call function="'writeStartTagInstance'">
+ {
+ 'instance' : instance,
+ 'fileFd' : LOG_MAIN_FD
+ }
+ </call>
+
+ <call function="'writeMessage'">
+ {
+ 'fileFd' : LOG_MAIN_FD,
+ 'content' : 'my instance is : %s' % instance.getName()
+ }
+ </call>
+
+ <!-- == Write tag for xml report -->
+ <call function="'writeEndTagInstance'">
+ { 'fileFd' : LOG_MAIN_FD }
+ </call>
+
+ </sequence>
+ </iterate>
- <!-- == Call postphase == -->
+
+ <!-- ================= Call postambule ======================= -->
<call function="'phasePostamble'">
{
'phaseName' : 'preconfiguration',
--
Gitblit v1.10.0