From 1124a5cd98768257fd022feec1a0b62b595f39e7 Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Wed, 02 May 2007 18:41:32 +0000
Subject: [PATCH] The last major code commit for ACI functionality uncovered a couple of incorrect return codes that were tested. These are fixed here.

---
 opendj-sdk/opends/tests/functional-tests/testcases/aci/multiple_aci_tests.xml |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/testcases/aci/multiple_aci_tests.xml b/opendj-sdk/opends/tests/functional-tests/testcases/aci/multiple_aci_tests.xml
index 5e528f3..812df1a 100644
--- a/opendj-sdk/opends/tests/functional-tests/testcases/aci/multiple_aci_tests.xml
+++ b/opendj-sdk/opends/tests/functional-tests/testcases/aci/multiple_aci_tests.xml
@@ -3702,7 +3702,8 @@
                 #@TestPurpose               Test with separate targetattrs
                 #@TestPreamble              Admin adds an aci with the target equal to the dn of one existing branch.
                 #@TestStep                  Client replaces l in an entry with the targeted branch dn.
-                #@TestStep                  Client replaces mail in an entry with the targeted branch dn.
+                #@TestStep                  Client replaces title in an entry with the targeted branch dn.
+                #@TestStep                  Client replaces another title in an entry with the targeted branch dn.
                 #@TestStep                  Client replaces l in an entry that is not with the targeted branch dn.
                 #@TestStep                  Remove aci.
                 #@TestStep                  Client replaces l from an entry with the previously targeted branch dn.
@@ -3765,7 +3766,7 @@
                     'entryToBeModified'   : '%s/aci/multiple_aci_tests/replace_title36.ldif' % STAGED_DATA_DIR }
                 </call>
     
-                <if expr="RC != 0">
+                <if expr="RC != 50">
                     <tcstatus result="'fail'"/>
                 </if>
     
@@ -3781,7 +3782,7 @@
                     'entryToBeModified'   : '%s/aci/multiple_aci_tests/replace_title36.1.ldif' % STAGED_DATA_DIR }
                 </call>
     
-                <if expr="RC != 0">
+                <if expr="RC != 50">
                     <tcstatus result="'fail'"/>
                 </if>
     
@@ -3849,7 +3850,8 @@
                 #@TestPurpose               Test with separate targetattrs
                 #@TestPreamble              Admin adds an aci with the target equal to the dn of one existing branch.
                 #@TestStep                  Client replaces l in an entry with the targeted branch dn.
-                #@TestStep                  Client replaces mail in an entry with the targeted branch dn.
+                #@TestStep                  Client replaces title in an entry with the targeted branch dn.
+                #@TestStep                  Client replaces another title in an entry with the targeted branch dn.
                 #@TestStep                  Client replaces l in an entry that is not with the targeted branch dn.
                 #@TestStep                  Remove aci.
                 #@TestStep                  Client replaces l from an entry with the previously targeted branch dn.
@@ -3912,7 +3914,7 @@
                     'entryToBeModified'   : '%s/aci/multiple_aci_tests/replace_title37.ldif' % STAGED_DATA_DIR }
                 </call>
     
-                <if expr="RC != 0">
+                <if expr="RC != 50">
                     <tcstatus result="'fail'"/>
                 </if>
     
@@ -3928,7 +3930,7 @@
                     'entryToBeModified'   : '%s/aci/multiple_aci_tests/replace_title37.1.ldif' % STAGED_DATA_DIR }
                 </call>
     
-                <if expr="RC != 0">
+                <if expr="RC != 50">
                     <tcstatus result="'fail'"/>
                 </if>
     

--
Gitblit v1.10.0