diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-11-03 17:15:58 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-11-03 17:15:58 -0500 |
commit | d826d153304dd7d33976513f9925b1954a620902 (patch) | |
tree | e471ad9faa70c85ab36eb58037c77f74a90b9c5a /tests/test28-nis-conditional | |
parent | 2c273ef3b01d4b2e530afa1d0f8b973c62b5f439 (diff) | |
download | slapi-nis-d826d153304dd7d33976513f9925b1954a620902.tar.gz slapi-nis-d826d153304dd7d33976513f9925b1954a620902.tar.xz slapi-nis-d826d153304dd7d33976513f9925b1954a620902.zip |
- exercise %ifeq returning lists
Diffstat (limited to 'tests/test28-nis-conditional')
-rw-r--r-- | tests/test28-nis-conditional/before.txt | 2 | ||||
-rw-r--r-- | tests/test28-nis-conditional/dse.ldif | 2 | ||||
-rw-r--r-- | tests/test28-nis-conditional/userRoot.ldif | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/test28-nis-conditional/before.txt b/tests/test28-nis-conditional/before.txt index 915e9fd..0b3d145 100644 --- a/tests/test28-nis-conditional/before.txt +++ b/tests/test28-nis-conditional/before.txt @@ -5,7 +5,9 @@ test users contents of example.com:test: group1 is-not-group2 ifeq-handles-bogus-attrs-correctly +group1-alternate-name is-not-group2 ifeq-handles-bogus-attrs-correctly group2 is-group2 ifeq-handles-bogus-attrs-correctly +group2-alternate-name is-group2 ifeq-handles-bogus-attrs-correctly contents of example.com:users: user1 user1:user1 user1a user1a:User 1 A diff --git a/tests/test28-nis-conditional/dse.ldif b/tests/test28-nis-conditional/dse.ldif index 583e33a..960b5d9 100644 --- a/tests/test28-nis-conditional/dse.ldif +++ b/tests/test28-nis-conditional/dse.ldif @@ -16,6 +16,6 @@ nis-domain: example.com nis-map: test nis-base: cn=Groups1, cn=Accounts, dc=example, dc=com nis-filter: objectclass=posixgroup -nis-key-format: %{cn} +nis-keys-format: %{cn} nis-value-format: %ifeq("cn","group2","is-group2","is-not-group2") %ifeq("madeup","ismadeup","wow-ifeq-is-so-broken","ifeq-handles-bogus-attrs-correctly") diff --git a/tests/test28-nis-conditional/userRoot.ldif b/tests/test28-nis-conditional/userRoot.ldif index 7aa1110..f490c9b 100644 --- a/tests/test28-nis-conditional/userRoot.ldif +++ b/tests/test28-nis-conditional/userRoot.ldif @@ -13,6 +13,7 @@ dn: cn=group1, cn=Groups1, cn=Accounts, dc=example, dc=com objectClass: posixgroup objectClass: extensibleObject cn: group1 +cn: group1-alternate-name uid: group1-fake-uid gidNumber: 1002 @@ -20,6 +21,7 @@ dn: cn=group2, cn=Groups1, cn=Accounts, dc=example, dc=com objectClass: posixgroup objectClass: extensibleObject cn: group2 +cn: group2-alternate-name uid: group2-fake-uid gidNumber: 1003 member: cn=group1, cn=Groups1, cn=Accounts, dc=example, dc=com |