From 772c0897ee09f2880728433713a16d158193ce6a Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Tue, 24 Oct 2006 16:41:33 +0000
Subject: [PATCH] Fix Issue 868: security tests use incorrect folder for temporary files

---
 opends/tests/functional-tests/shared/functions/security.xml |    2 +-
 opends/tests/functional-tests/testcases/setup/setup.xml     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/functional-tests/shared/functions/security.xml b/opends/tests/functional-tests/shared/functions/security.xml
index a9c7b52..6e36a2c 100755
--- a/opends/tests/functional-tests/shared/functions/security.xml
+++ b/opends/tests/functional-tests/shared/functions/security.xml
@@ -121,7 +121,7 @@
                 'dsInstancePort'   : DIRECTORY_INSTANCE_PORT ,
                 'dsInstanceDn'     : DIRECTORY_INSTANCE_DN ,
                 'dsInstancePswd'   : DIRECTORY_INSTANCE_PSWD ,
-                'entryToBeAdded'   : '%s/ldaps_port.ldif' % (TMP_DATA_DIR) }
+                'entryToBeAdded'   : '%s/ldaps_port.ldif' % (STAGED_DATA_DIR) }
             </call>
 
             <call function="'checktestRC'">
diff --git a/opends/tests/functional-tests/testcases/setup/setup.xml b/opends/tests/functional-tests/testcases/setup/setup.xml
index d79a1d0..1316bcf 100755
--- a/opends/tests/functional-tests/testcases/setup/setup.xml
+++ b/opends/tests/functional-tests/testcases/setup/setup.xml
@@ -71,7 +71,7 @@
       <!-- Dynamically create ldif files for staging -->
       <!-- Modify SSL port to user-defined value -->
       <script>
-        write_ldaps_ldif_file('%s' % (TMP_DATA_DIR), '%s' % (DIRECTORY_INSTANCE_SSL_PORT));
+        write_ldaps_ldif_file('%s/shared/data' % (TMP_DATA_DIR), '%s' % (DIRECTORY_INSTANCE_SSL_PORT));
       </script>
     
       <!--  Zip up contents of tests directory -->

--
Gitblit v1.10.0