From aac1e3990a270c154798f96e0a65cd8d2ce2610b Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Fri, 27 Jul 2007 19:43:31 +0000
Subject: [PATCH] More upgrades to the ACI functional tests to reflect the recent commit in revision 2449.

---
 opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml b/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
index 59620a5..9a5ab25 100755
--- a/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
+++ b/opends/tests/functional-tests/testcases/aci/aci_effective_rights.xml
@@ -92,6 +92,21 @@
                 </if>
     
                 <script>
+                    allow_aci='(targetcontrol=\"*\") (version 3.0; acl \"allow control access\"; allow(read) userdn=\"ldap:///anyone\";)'
+                </script>
+        
+                <call function="'modifyAnAttribute'">
+                  { 'dsInstanceHost'         : DIRECTORY_INSTANCE_HOST ,
+                    'dsInstancePort'         : DIRECTORY_INSTANCE_PORT ,
+                    'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
+                    'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
+                    'DNToModify'             : 'dc=example,dc=com' ,
+                    'attributeName'          : 'aci' ,
+                    'newAttributeValue'      : allow_aci ,
+                    'changetype'             : 'add' }
+                </call>
+                
+                <script>
                     curr_aci_ldif_file = 'add_effrights_aci.ldif'
                     curr_aci=retrieve_aci('%s/aci/aci_effective_rights/%s' % (logsLocalDataDir,curr_aci_ldif_file));
                 </script>
@@ -3028,6 +3043,21 @@
                     <tcstatus result="'fail'"/>
                 </if>
     
+                <script>
+                    allow_aci='(targetcontrol=\"*\") (version 3.0; acl \"allow control access\"; allow(read) userdn=\"ldap:///anyone\";)'
+                </script>
+        
+                <call function="'modifyAnAttribute'">
+                  { 'dsInstanceHost'         : DIRECTORY_INSTANCE_HOST ,
+                    'dsInstancePort'         : DIRECTORY_INSTANCE_PORT ,
+                    'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
+                    'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
+                    'DNToModify'             : 'dc=example,dc=com' ,
+                    'attributeName'          : 'aci' ,
+                    'newAttributeValue'      : allow_aci ,
+                    'changetype'             : 'delete' }
+                </call>
+                
                 <message>
                    'ACI: Effective Rights: Preamble - putting back Search Global ACI'
                 </message>

--
Gitblit v1.10.0