From da40de5b860952ec063b246545632642d00ba0bf Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Fri, 16 Sep 2011 16:28:35 +0000
Subject: [PATCH] Clean of use of data and temp data in functional tests
---
opends/tests/staf-tests/shared/functions/utils.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opends/tests/staf-tests/shared/functions/utils.xml b/opends/tests/staf-tests/shared/functions/utils.xml
index f0e831b..6efbd6c 100755
--- a/opends/tests/staf-tests/shared/functions/utils.xml
+++ b/opends/tests/staf-tests/shared/functions/utils.xml
@@ -4098,6 +4098,9 @@
STAFCmdParamsList.append('-l')
if outputFile:
+ if not os.path.exists(os.path.dirname(outputFile)):
+ os.makedirs(os.path.dirname(outputFile))
+
STAFCmdParamsList.append('-f %s' % outputFile)
if nbrOfThread:
--
Gitblit v1.10.0