threerings / openvpn-auth-ldap

Implements username/password authentication via LDAP for OpenVPN 2.x.
Other
135 stars 62 forks source link

r1379 self-test failures #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build auth-ldap from r1379 SVN and against openvpn 2.3.6, with patches from 
Issue #43.
2. run tests/tests

What is the expected output? What do you see instead?
Self-tests should pass. Instead, these are failures:
[mandree@apollo ~/VCS-other/openvpn-auth-ldap.svn]$ tests/tests 2>&1 | grep 
failed
Test case -[TRLDAPAccountRepositoryTests test_initWithLDAPConnection] 
(TRLDAPAccountRepositoryTests.m:57) failed with error: 'config == 
((id)((void*)0))' should be false. Legacy assertion 'config == nil' failed
Test case -[TRAuthLDAPConfigTests test_initWithConfigFile] 
(TRAuthLDAPConfigTests.m:60) failed with error: 'config == ((void *)0)' should 
be false. Legacy assertion 'config == NULL' failed
Test case -[TRAuthLDAPConfigTests test_initWithMissingTrailingNewline] 
(TRAuthLDAPConfigTests.m:122) failed with error: 'config == ((void *)0)' should 
be false. Legacy assertion 'config == NULL' failed
Test case -[TRLDAPConnectionTests testInit] (TRLDAPConnectionTests.m:62) failed 
with error: 'config == ((void *)0)' should be false. Legacy assertion 'config 
== NULL' failed
Test case -[TRConfigLexerTests testParse] (TRConfigLexerTests.m:65) failed with 
error: 'configFD == -1' should be false. Legacy assertion 'configFD == -1' 
failed
Test case -[TRConfigTests testInitWithFD] (TRConfigTests.m:94) failed with 
error: 'configFD == -1' should be false. Legacy assertion 'configFD == -1' 
failed

What version of the product are you using? On what operating system?
SVN r1379 on FreeBSD 9.3-RELEASE, amd64, with libobjc2 (which is a new 
GNU-compatible and clang-compatible ObjC runtime) and openldap-client-2.4.40_1

Original issue reported on code.google.com by matthias...@gmx.de on 5 Jan 2015 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by landon.j.fuller@gmail.com on 11 Feb 2015 at 9:42