From a50f580e789be427d5ba4a1f3a2a8eef84dfcefd Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 24 Nov 2008 10:14:34 +0000
Subject: [PATCH] Fix for Issue 3025: results should be the same on all OS/platforms
---
opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml b/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
index a3d712a..408852a 100755
--- a/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
+++ b/opendj-sdk/opends/tests/staf-tests/shared/functions/environment.xml
@@ -400,7 +400,19 @@
<call function="'importPythonLibraries'"/>
<call function="'initialiseGlobalVariables'"/>
-
+
+ <message>
+ 'Remove files from previous runs under %s.' % DIRECTORY_INSTANCE_DIR
+ </message>
+ <call function="'deleteFolder'">
+ { 'location' : STAF_REMOTE_HOSTNAME ,
+ 'foldername' : DIRECTORY_INSTANCE_DIR }
+ </call>
+ <call function="'createFolder'">
+ { 'location' : STAF_REMOTE_HOSTNAME ,
+ 'foldername' : DIRECTORY_INSTANCE_DIR }
+ </call>
+
<call function="'GetDirectoryServerInformation'"/>
<!-- Set variables to build unique path to store data -->
--
Gitblit v1.10.0