From ef7472507064725f7d1ac16e6b9ccdfa2f9fadea Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Fri, 23 Feb 2007 20:11:10 +0000
Subject: [PATCH] This change prepares the unit tests for when the ACI handler will get enabled by default.  Most of the failing tests are fixed by adding bypass-acl privilege to the entries of the users the failing tests bind as.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java
index 52d9dc7..fda8f7d 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPCompareTestCase.java
@@ -601,6 +601,7 @@
          "objectClass: inetOrgPerson",
          "cn: Test User",
          "givenName: Test",
+         "ds-privilege-name: bypass-acl",
          "sn: User");
 
     InternalClientConnection conn =
@@ -654,6 +655,7 @@
          "objectClass: inetOrgPerson",
          "cn: Test User",
          "givenName: Test",
+         "ds-privilege-name: bypass-acl",
          "sn: User");
 
     InternalClientConnection conn =
@@ -708,6 +710,7 @@
          "givenName: Test",
          "sn: User",
          "cn: Test User",
+         "ds-privilege-name: bypass-acl",
          "userPassword: password",
          "ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
               "cn=Password Policies,cn=config");
@@ -757,6 +760,7 @@
          "givenName: Test",
          "sn: User",
          "cn: Test User",
+         "ds-privilege-name: bypass-acl",
          "userPassword: password",
          "ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
               "cn=Password Policies,cn=config");

--
Gitblit v1.10.0