From 33cf8defb05e9837117f316156fdd9b8df0228fe Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Wed, 12 Dec 2007 17:06:35 +0000
Subject: [PATCH] fix regression introduced in revision 3540,align expectedRC variable names

---
 opends/tests/shared/functions/dsadm.xml |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/opends/tests/shared/functions/dsadm.xml b/opends/tests/shared/functions/dsadm.xml
index 488932c..49736a6 100755
--- a/opends/tests/shared/functions/dsadm.xml
+++ b/opends/tests/shared/functions/dsadm.xml
@@ -678,7 +678,7 @@
         </script>
   
       <message>
-        '%s/import-ldif%s -l %s -n %s %s' % (dsBinPath,fileExt,ldifFile,backEnd,aParams)
+        '%s/import-ldif%s -l %s -n %s %s' % (dsBinPath,fileExt,ldifFile,backEnd,extraParams)
       </message>
       <call function="'runCommand'">
         { 'location'  : location,
@@ -1479,13 +1479,13 @@
           Start time for task
         </function-arg-description>
         <function-arg-property name="type" value="integer"/>      
-      </function-arg-def>        
-	<function-arg-def name="expectedRC" type="optional" default="0">
-	<function-arg-description>
-	  Expected return code value. Default value is 0
-	</function-arg-description>
-	<function-arg-property name="type" value="integer"/>
-	</function-arg-def>
+      </function-arg-def>
+      <function-arg-def name="expectedRC" type="optional" default="0">
+        <function-arg-description>
+          Expected return code value. Default value is 0
+        </function-arg-description>
+        <function-arg-property name="type" value="integer"/>
+      </function-arg-def>
  
     </function-map-args>
 
@@ -1840,12 +1840,12 @@
         </function-arg-description>
         <function-arg-property name="type" value="integer"/>      
       </function-arg-def>             
-      	<function-arg-def name="expected" type="optional" default="0">
-	<function-arg-description>
-	  the expected return code
-	</function-arg-description>
-	<function-arg-property name="type" value="integer"/>
-	</function-arg-def>
+      <function-arg-def name="expectedRC" type="optional" default="0">
+        <function-arg-description>
+          Expected return code value. Default value is 0
+        </function-arg-description>
+        <function-arg-property name="type" value="integer"/>
+	    </function-arg-def>
     </function-map-args>
 
     <sequence>
@@ -1897,7 +1897,7 @@
       <call function="'checktestRC'">
         { 'returncode' : STAXCode ,
           'result'     : STAXReason,
-          'expected'   : expected
+          'expected'   : expectedRC
         }
       </call>
       <return>
@@ -2155,12 +2155,12 @@
         </function-arg-description>
         <function-arg-property name="type" value="integer"/>      
       </function-arg-def>        
-	<function-arg-def name="expectedRC" type="optional" default="0">
-	<function-arg-description>
-	  Expected return code value. Default value is 0
-	</function-arg-description>
-	<function-arg-property name="type" value="integer"/>
-	</function-arg-def>      
+      <function-arg-def name="expectedRC" type="optional" default="0">
+        <function-arg-description>
+          Expected return code value. Default value is 0
+        </function-arg-description>
+        <function-arg-property name="type" value="integer"/>
+      </function-arg-def>      
     </function-map-args>
     <sequence>
 

--
Gitblit v1.10.0