Skip to content

Commit

Permalink
Slapd: Add unit test for by/control
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Jan 7, 2014
1 parent 15ec375 commit 96b3580
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lenses/tests/test_slapd.aug
Expand Up @@ -63,3 +63,12 @@ test Slapd.lns get conf =
{ "by"
{ "who" = "*" }
{ "what" = "none" } } } }

test Slapd.lns get "access to dn.subtree=\"dc=example,dc=com\"
by self write stop\n" =
{ "access to" = "dn.subtree=\"dc=example,dc=com\""
{ "by"
{ "who" = "self" }
{ "what" = "write" }
{ "control" = "stop" } } }

0 comments on commit 96b3580

Please sign in to comment.