From bacbb9d95b3d8807c2e6686d92f0fae902194328 Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Fri, 02 May 2008 12:21:42 +0000
Subject: [PATCH] Copy data that are under the scenario directory
---
opends/tests/system-tests/phases/main_run_lib.xml | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/opends/tests/system-tests/phases/main_run_lib.xml b/opends/tests/system-tests/phases/main_run_lib.xml
index 6a68afd..4bb34d9 100644
--- a/opends/tests/system-tests/phases/main_run_lib.xml
+++ b/opends/tests/system-tests/phases/main_run_lib.xml
@@ -295,6 +295,30 @@
}
</call>
</if>
+ <!-- Copy data that are under the scenario directory -->
+ <call function="'isFile'">
+ {
+ 'location' : STAXServiceMachine,
+ 'fileName' : '%s/scenario/%s/data' % \
+ (TESTS_DIR,DIR_NAME),
+ }
+ </call>
+ <script>
+ fileExist = STAXResult
+ </script>
+ <if expr="fileExist == TRUE">
+ <call function="'copyFolder'">
+ {
+ 'remoteHost' : '%s%s' % (client.getHost(),DOMAIN[0]),
+ 'fromDirectory' : '%s/scenario/%s/data' % \
+ (TESTS_DIR,DIR_NAME),
+ 'toDirectory' : '%s/scenario/%s/data' % \
+ (LOCAL_TESTS_DIR,DIR_NAME),
+ 'fileFd' : NO_FILE
+ }
+ </call>
+ </if>
+
</sequence>
</if>
</sequence>
--
Gitblit v1.10.0