From c77efb4241fa6dbb2c5f1888f0cdbc72a6edb241 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Fri, 09 Mar 2007 15:12:02 +0000
Subject: [PATCH] Changed the aci functional test cases to reflect the new error code that is now returned for an improperly formatted aci (Issue 1317).

---
 opends/tests/functional-tests/testcases/aci/aci_target.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/aci/aci_target.xml b/opends/tests/functional-tests/testcases/aci/aci_target.xml
index cbd4c93..7131529 100755
--- a/opends/tests/functional-tests/testcases/aci/aci_target.xml
+++ b/opends/tests/functional-tests/testcases/aci/aci_target.xml
@@ -971,7 +971,7 @@
                                         self to an existing entry
             #@TestStep                  Admin checks if aci was added.
             #@TestPostamble             none
-            #@TestResult                Success if OpenDS returns 50, 
+            #@TestResult                Success if OpenDS returns 21, 
                                         and the aci has not been added.
         -->
         <!-- cross reference to syntax.ksh Test Case 1 -->
@@ -990,7 +990,7 @@
                 'entryToBeModified'   : '%s/aci/aci_target/add_aci8.ldif' % STAGED_DATA_DIR }
             </call>
 
-            <if expr="RC != 50">
+            <if expr="RC != 21">
                 <tcstatus result="'fail'"/>
             </if>
 
@@ -1235,7 +1235,7 @@
             #@TestStep                  Client searches entry with the targeted dn.
             #@TestStep                  Client searches entry with a non-targeted dn.
             #@TestPostamble             none
-            #@TestResult                Success if OpenDS returns 50, 
+            #@TestResult                Success if OpenDS returns 21, 
                                         and the aci has not been added.
         -->
         <!-- cross reference to syntax.ksh Test Case 3 -->
@@ -1254,7 +1254,7 @@
                 'entryToBeModified'   : '%s/aci/aci_target/add_aci10.ldif' % STAGED_DATA_DIR }
             </call>
 
-            <if expr="RC != 50">
+            <if expr="RC != 21">
                 <tcstatus result="'fail'"/>
             </if>
 
@@ -1300,7 +1300,7 @@
             #@TestStep                  Client searches entry with the targeted dn.
             #@TestStep                  Client searches entry with a non-targeted dn.
             #@TestPostamble             none
-            #@TestResult                Success if OpenDS returns 50, 
+            #@TestResult                Success if OpenDS returns 21, 
                                         and the aci has not been added.
         -->
         <!-- cross reference to syntax.ksh Test Case 13 -->
@@ -1319,7 +1319,7 @@
                 'entryToBeModified'   : '%s/aci/aci_target/add_aci11.ldif' % STAGED_DATA_DIR }
             </call>
 
-            <if expr="RC != 50">
+            <if expr="RC != 21">
                 <tcstatus result="'fail'"/>
             </if>
 

--
Gitblit v1.10.0