Jens Vagelpohl writes:
Starting test056-monitor ...
running defines.sh Starting slapd on TCP/IP port ... Using ldapsearch to check that slapd is running... Using ldapsearch to read connection monitor entries... Filtering ldapsearch results... Comparing filter output... comparison failed - connection monitor output is not correct
./scripts/test056-monitor failed (exit 1)
make[2]: *** [bdb-yes] Error 1 make[1]: *** [test] Error 2 make: *** [test] Error 2
slapd is OK, the bug is in test056-monitor. It needs to be updated to handle IPv6:
However, in the testrun directory the files ldapsearch.flt and ldapsearch.out do not show any differences according to diff.
ldapsearch.flt is a cleaned-up version of ldapsearch.out. Looking at the code, the diff is with testdata/monitor1.out:
--- testdata/monitor1.out +++ testrun/ldapsearch.flt @@ -12,3 +12,3 @@ dn: cn=Connection 1,cn=Connections,cn=Mo monitorConnectionListener: ldap://localhost:9011/ -monitorConnectionLocalAddress: IP=127.0.0.1:9011 +monitorConnectionLocalAddress: IP=[::1]:9011 entryDN: cn=Connection 1,cn=Connections,cn=Monitor