From ff2a6e0417006caaa1a723ad5f4740670f473346 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Thu, 17 Apr 2008 16:30:08 +0000
Subject: [PATCH] fix typo: set a generic name : replace nbMaxSearch by nbMaxOperations

---
 opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml b/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
index 9c4e475..4e2442f 100755
--- a/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
+++ b/opends/tests/system-tests/clients/modifyLoad/modifyLoad.xml
@@ -56,6 +56,7 @@
       <!-- to inform scheduler if it has pass/fail status       -->
       <script>
         errNum = 0
+        msg = ''
       </script>
       
       <!-- ==================    Preamble   =================== -->
@@ -89,10 +90,10 @@
           nbCnx = NOT_DEFINED
           msg = '%s\nERROR: nbCnx undefined,mandatory' % msg
         try:
-          nbMaxSearch = cParams[3][1]
+          nbMaxModify = cParams[3][1]
         except IndexError:
-          nbMaxSearch = NOT_DEFINED
-          msg = '%s\nERROR: nbMaxSearch undefined,mandatory' % msg
+          nbMaxModify = NOT_DEFINED
+          msg = '%s\nERROR: nbMaxModify undefined,mandatory' % msg
         try:
           attributeName = cParams[4][1]
         except IndexError:
@@ -120,7 +121,7 @@
             parms.append('-b "%s"' % baseDn)
             parms.append('-D "%s" -w "%s"' % \
                         (DIRECTORY_INSTANCE_DN,DIRECTORY_INSTANCE_PSWD))
-            parms.append('-t %s -M %s -d %s' % (nbCnx,nbMaxSearch,duration))
+            parms.append('-t %s -M %s -d %s' % (nbCnx,nbMaxModify,duration))
             if attributeName != NOT_DEFINED:
               parms.append('-a %s' % attributeName)
             parms = ' '.join(parms)
@@ -223,7 +224,7 @@
           </call>
           <call function="'writeMessage'">
           { 'fileFd'  : fileFd,
-            'content' : 'Do ldapsearchs on %s:%s' % \
+            'content' : 'Do ldapModify on %s:%s' % \
                         (serverInstance.getHost(),serverInstance.getLDAPPort())
           }
           </call>

--
Gitblit v1.10.0