[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4490) Wrong test014-whoami authzFrom/authzTo rule ordering



I think the test is correct but the comment is outdated; in fact, as a
consequence to this commit
<http://www.openldap.org/lists/openldap-commit/200512/msg00247.html>
there remain only 8 rules so the 9th cannot catch any authz any more.  I
cannot swear, but I believe that change was the result of fixing an issue
in the test resulting from incorrect (or incorrectly interpreted) return
codes from ldapwhoami.

Feel free to rework/eliminate the comment, or reuse at will in your tests
cleanup and rearranging.

p.

> Full_Name: Hallvard B Furuseth
> Version: HEAD
> OS: Linux
> URL:
> Submission from: (NULL) (129.240.186.42)
> Submitted by: hallvard
>
>
> A comment at the end of test014 says an awk command on slapd.1.log should
> produce the sequence 1 2 3 4 5 6 7 8 9 9 1 2 3 4 5 6 7 8 9 9 9 1.
> It actually produces 1 2 3 4 5 6 7 8 8 8 1 2 3 4 5 6 7 8 8 8 8 1.
>                                      ^^^                 ^^^^^
> (Discovered it when I turned the comment into a final test.)
>
>
>




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------