From 87fadb5ec86d2c7927099090a528d16a444afd4c Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Tue, 01 Jul 2008 15:29:14 +0000
Subject: [PATCH] QA: System Test: allow monitoring client to use dedicated config.xml file

---
 opends/tests/system-tests/clients/monitoring/monitoringPreamble.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/opends/tests/system-tests/clients/monitoring/monitoringPreamble.xml b/opends/tests/system-tests/clients/monitoring/monitoringPreamble.xml
index 9069fbe..934e927 100755
--- a/opends/tests/system-tests/clients/monitoring/monitoringPreamble.xml
+++ b/opends/tests/system-tests/clients/monitoring/monitoringPreamble.xml
@@ -84,6 +84,23 @@
         </sequence>
       <else>
         <sequence>
+          <if expr="needCopy == 1">
+            <sequence>
+              <call function="'copyFile'">
+              {
+                'srcFile'    : '%s/scenario/%s/%s' % \
+                               (TESTS_DIR,scenario.getName(),configFile),
+                'destFile'   : configFilePath,
+                'location'   : STAXServiceMachine,
+                'remoteHost' : client.getHost(),
+                'fileFd'     : fileFd
+              }
+              </call>
+              <script>errNum += STAXResult[0]</script>
+            </sequence>
+          </if>
+          
+          
           <!-- ========================================================== -->
           <!-- =============== Build Monitoring Client ================== -->
           <!-- ========== Run the client ========== -->

--
Gitblit v1.10.0