From 504f0f7a278410099e966d7689c07b106f88cb06 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Wed, 13 Jun 2007 21:56:23 +0000
Subject: [PATCH] Issue 1784 data and temporary files must go into a unique folder

---
 opends/tests/functional-tests/testcases/security/security_setup.xml |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/security/security_setup.xml b/opends/tests/functional-tests/testcases/security/security_setup.xml
index de9ae46..5923647 100755
--- a/opends/tests/functional-tests/testcases/security/security_setup.xml
+++ b/opends/tests/functional-tests/testcases/security/security_setup.xml
@@ -54,7 +54,27 @@
                   { 'returncode' : RC ,
                     'result'     : STAXResult }
               </call>
-      
+
+              <!-- Dynamically create ldif files for staging -->
+              <!-- Modify SSL port to a user-defined value -->
+              <message>
+                  'Create locally the security ldif file'
+              </message>
+              
+              <script>
+                write_ldaps_ldif_file('%s/security' % (logsLocalDataDir), '%s' % (DIRECTORY_INSTANCE_SSL_PORT));
+              </script>
+
+              <message>
+                  'Copy the security ldif file (ldaps_port.ldif) to %s' % (dsHost)
+              </message>
+              <call function="'copyFile'">
+                { 'location'   : STAF_LOCAL_HOSTNAME,
+                  'srcfile'    : '%s/security/ldaps_port.ldif' % (logsLocalDataDir),
+                  'destfile'   : '%s/security/ldaps_port.ldif' % (logsRemoteDataDir),
+                  'remotehost' : dsHost }
+              </call>
+                      
             </sequence>      
           <!--- End Block Create DS Topology -->	
           </block>				  				  

--
Gitblit v1.10.0