Commit Graph

35 Commits

Author SHA1 Message Date
Emmanuel Raviart 76c318374d Converted C login test to new login API. 2004-09-03 23:14:15 +00:00
Emmanuel Raviart 3d4fdd2971 Added missing .cvsignore in tests/data/ 2004-09-02 19:21:00 +00:00
Valery Febvre 5dc6f94ffd Moved param 'http_method' of lasso_login_build_authn_request_msg() method
in lasso_login_init_authn_request()
BEWARE : this change breaks the API
2004-08-21 17:12:21 +00:00
Emmanuel Raviart 90f1e1f493 Added new argument to lasso_login_build_authn_request_msg. 2004-08-20 17:43:07 +00:00
Frédéric Péters 9a8d1f6759 cleanup and remove result.xml 2004-08-19 23:20:48 +00:00
Frédéric Péters dd1a07059b certs are not in builddir; take care of that 2004-08-19 21:11:18 +00:00
Frédéric Péters ec86c5955d include a bunch of ssl thingies in release (make distcheck goes further) 2004-08-19 21:10:50 +00:00
Frédéric Péters 956c94f23e removed logout part from C test 2; it would work now.
But http://buildbox.entrouvert.org/logs/20040818/lupin.1820.changelog.xml
2004-08-19 09:19:58 +00:00
Frédéric Péters 10a9fd0b52 trying to fix login test 2 2004-08-14 13:04:55 +00:00
Emmanuel Raviart 2687aac171 Added client flag to SSL servers, because each server is also a SOAP client. 2004-08-13 11:02:46 +00:00
Emmanuel Raviart 95d303164f Added forgotten LECP public keys. 2004-08-13 09:01:33 +00:00
Emmanuel Raviart cddb5d33da Added metadata corresponding to new certificates.
Updated non regression tests to use these certificates and metadata.
2004-08-12 22:25:36 +00:00
Emmanuel Raviart cb09ccbcee Added sample X.509 certificates and keys. 2004-08-12 16:46:28 +00:00
Emmanuel Raviart 710b77536c Slightly corrected C test. 2004-08-09 16:19:09 +00:00
Valery Febvre 5f91d044d0 Initial commit 2004-08-04 22:03:10 +00:00
Frédéric Péters 6f79bbd107 fixed typo; fix bug230 2004-08-04 11:07:33 +00:00
Frédéric Péters 81ec2cfe2d [angry comment removed] 2004-08-04 10:47:11 +00:00
Nicolas Clapies 638371bb15 replace load_request_msg() with process_request_msg(), process_request() with validate_request(), remove assertion of the authenticated principal in validate_request() 2004-08-03 15:27:26 +00:00
Valery Febvre 34938f2b40 update 2004-07-30 11:34:40 +00:00
Frédéric Péters 8db0c98e16 added stupid tests to annoy developers. 2004-07-29 09:14:37 +00:00
Frédéric Péters fdd646ede2 had detection of a patched (with XML support) check; only use srunner_set_xml
if it is available.
2004-07-29 08:23:55 +00:00
Frédéric Péters a1a40af6e0 updated .cvsignore (binary is now tests and out.xml has been renamed to
result.xml)
2004-07-28 15:54:50 +00:00
Frédéric Péters 70cd9c3a7b modularized tests; it is now possible to add more suites easily. 2004-07-28 15:54:14 +00:00
Frédéric Péters 349afc2dd6 fixed warnings 2004-07-27 11:35:26 +00:00
Emmanuel Raviart db051a1a73 Removed obsolete logout method load_from_dump.
Upgraded some residual calls to login_new & logout_new.

Updated Java binding.

Java unit test works (and C too, but Python still doesn't).
2004-07-26 22:02:03 +00:00
Valery Febvre 002aab5821 *** empty log message *** 2004-07-26 18:19:16 +00:00
Frédéric Péters 20663807a8 added an XXX and a comment where I think the problem is. Developers; please
have a look.
2004-07-26 11:13:40 +00:00
Frédéric Péters f0e695f21c --dontfork mode for the tests (so it is easier to debug segfaults) 2004-07-26 10:48:17 +00:00
Frédéric Péters 3d67b7c87a end of test port to C; developers, please test it (or the python login_tests;
results should be identical).  There is a problem in memory management and
*sometimes* it works.

*Sometimes* it doesn't:

(process:12643): lasso-CRITICAL **: file xml.c: line 64 (lasso_node_copy):
assertion `LASSO_IS_NODE(node)' failed

(process:12643): lasso-CRITICAL **: file xml.c: line 1024
(lasso_node_impl_add_child): assertion `LASSO_IS_NODE(child)' failed

And *sometimes* it is even worse (segfault):

Running suite(s): Login
50%: Checks: 2, Failures: 0, Errors: 1
login_tests.c:81:P:Generate Server Contexts:test01_generateServersContextDumps:Passed
login_tests.c:229:E:Login initiated by service
provider:test02_serviceProviderLogin: (after this point) Received signal 11


I believe this is caused by something in
  http://buildbox.entrouvert.org/logs/20040726/lupin.0320.changelog.xml
2004-07-26 10:16:10 +00:00
Frédéric Péters 341fb52a97 further in the unit test; pain pain pain. 2004-07-26 09:00:13 +00:00
Frédéric Péters fa20471eb7 started to copy Python second test (serviceProviderLogin) in C. 1 hour and 38
lines so far and I should probably move to something or I'll get angry.
2004-07-26 08:01:33 +00:00
Frédéric Péters a3a86229f7 check 0.9 no longer has suite_free(). And our local version got
srunner_set_xml()
2004-07-25 20:53:24 +00:00
Frédéric Péters 6bd6b709c8 .cvsignore for tests/ directory 2004-07-24 18:00:51 +00:00
Frédéric Péters 1893900d09 using check <http://check.sourceforge.net/> for the test suite
(--enable-tests=no if you don't want them)
2004-07-24 18:00:16 +00:00
Emmanuel Raviart eda0f459be This is not a C unit test, but it can miracolously become one. 2004-07-24 16:41:19 +00:00