From 6da4b9ae01dc9d49246ee506abf520e6d1ce85df Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 28 May 2010 09:47:08 +0000
Subject: [PATCH] Update tests

---
 opends/tests/staf-tests/shared/functions/security.xml |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/opends/tests/staf-tests/shared/functions/security.xml b/opends/tests/staf-tests/shared/functions/security.xml
index 1595f7c..c3c9c58 100755
--- a/opends/tests/staf-tests/shared/functions/security.xml
+++ b/opends/tests/staf-tests/shared/functions/security.xml
@@ -393,7 +393,9 @@
         listAttr.append('userCertificate;binary:: %s' % ret_str)
       </script>
 
-      <!-- Create the ldif -->
+      <message>
+        'Create %s/client.ldif' % local.temp
+      </message>
       <script>
         addCertificateldif='%s/client.ldif' % local.temp
         outfile = open(addCertificateldif,"w")
@@ -402,10 +404,13 @@
         outfile.close()
       </script>
 
+      <message>
+        'Copy  %s/client.ldif to %s' % (local.temp,ldif_path)
+      </message>
       <call function="'copyFile'">
         {
         'location'   : STAXServiceMachine,
-        'srcfile'    : '%s/client-cert.ldif' % local.temp,
+        'srcfile'    : '%s/client.ldif' % local.temp,
         'destfile'   : ldif_path,
         'remotehost' : STAF_REMOTE_HOSTNAME
         }
@@ -417,7 +422,7 @@
           'dsInstancePort'    : DIRECTORY_INSTANCE_PORT,
           'dsInstanceDn'      : DIRECTORY_INSTANCE_DN,
           'dsInstancePswd'    : DIRECTORY_INSTANCE_PSWD,
-          'entryToBeModified' : addCertificateldif,
+          'entryToBeModified' : ldif_path,
           'expectedRC'        :  0
         }
       </call>

--
Gitblit v1.10.0