From a5342a63cdd178130115549632beaf3b33aaf51c Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Thu, 01 Mar 2007 15:19:37 +0000
Subject: [PATCH] Issue 1287 prepare common shared function for synchronization

---
 opends/tests/functional-tests/testcases/security/startTLS/security_startTLS.xml |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/security/startTLS/security_startTLS.xml b/opends/tests/functional-tests/testcases/security/startTLS/security_startTLS.xml
index 7596c45..1cebbeb 100755
--- a/opends/tests/functional-tests/testcases/security/startTLS/security_startTLS.xml
+++ b/opends/tests/functional-tests/testcases/security/startTLS/security_startTLS.xml
@@ -50,8 +50,8 @@
             </message>
     
             <!--- Start DS -->
-            <call function="'startDS'">
-              { 'dsbinpath' : '%s' % (OPENDS_BINPATH) }
+            <call function="'StartDsWithScript'">
+             { 'location'  : STAF_REMOTE_HOSTNAME }
             </call>
     
             <call function="'checkRC'">
@@ -96,8 +96,12 @@
                  'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
               </message>
     
-              <call function="'stopDS'">
-                { 'dsInstancePort' : '%s' % (DIRECTORY_INSTANCE_PORT) }
+              <call function="'StopDsWithScript'">
+                  { 'location'  : STAF_REMOTE_HOSTNAME,
+                    'dsHost'    : DIRECTORY_INSTANCE_HOST,
+                    'dsPort'    : DIRECTORY_INSTANCE_PORT,
+                    'dsBindDN'  : DIRECTORY_INSTANCE_DN,
+                    'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
               </call>
     
               <call function="'checkRC'">

--
Gitblit v1.10.0