Commit Graph

43 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
6ebaac8839 tests: Added check for the basic commands of ocpasswd. 2014-06-24 14:00:40 +02:00
Nikos Mavrogiannopoulos
a3b8745f44 tests: check for special characters into username in addition to password 2014-06-09 15:18:50 +02:00
Nikos Mavrogiannopoulos
6f5ec79678 use a more portable way to kill the openconnect process. 2014-05-31 18:30:28 +02:00
Nikos Mavrogiannopoulos
cd635fd8cb full-test: be more resilient to docker errors. 2014-05-31 18:22:56 +02:00
Nikos Mavrogiannopoulos
843883750c enable cisco-client-compat in cert test 2014-05-27 09:00:34 +02:00
Nikos Mavrogiannopoulos
21aba3d3e7 test-pam: better messages 2014-05-23 11:45:35 +02:00
Nikos Mavrogiannopoulos
7eb80a3c01 corrected filename 2014-05-21 13:52:34 +02:00
Nikos Mavrogiannopoulos
5d0bdf2966 Added test for group selection when having a certificate. 2014-05-20 15:49:56 +02:00
Nikos Mavrogiannopoulos
2969d37298 Added tests for group authentication using passwords and PAM. 2014-05-20 15:36:50 +02:00
Nikos Mavrogiannopoulos
044b910128 Force full connection after cookie when a script is involved.
That is because in the new design of ocserv, the cookie is being
provided prior to any script being run or evaluated.
2014-05-15 11:52:17 +02:00
Nikos Mavrogiannopoulos
2c3d7ff978 updated docker test. 2014-05-09 16:13:18 +02:00
Nikos Mavrogiannopoulos
b8bfbde41d Test whether the statistics are exported to disconnect script. 2014-04-28 17:36:02 +02:00
Nikos Mavrogiannopoulos
d2931cfd88 Avoid running test if our conditions are not met. 2014-04-19 12:15:16 +02:00
Nikos Mavrogiannopoulos
cf759e33ed Added note on enable-local-libopts for full-test 2014-04-17 19:01:54 +02:00
Nikos Mavrogiannopoulos
f4e8bcc904 Modified full test for debian. 2014-04-17 18:51:34 +02:00
Nikos Mavrogiannopoulos
7bf24821ae Added a full test between openconnect and ocserv based on docker.
That allows testing the establishment of a connection plus
the transferring of packets.
2014-04-17 15:25:19 +02:00
Nikos Mavrogiannopoulos
276bdd49d1 do not require the device to be present in the connect script. 2014-04-15 11:34:17 +02:00
Nikos Mavrogiannopoulos
3bf5c03b4b Test whether the connect and disconnect scripts have been called. 2014-04-12 21:07:53 +02:00
Nikos Mavrogiannopoulos
a64edf9c6d better message 2014-04-02 13:12:50 +02:00
Nikos Mavrogiannopoulos
c094a94d19 Added test for CRL file support. 2014-04-02 12:56:56 +02:00
Nikos Mavrogiannopoulos
a3ecb5b91f simplified and corrected test execution 2014-04-01 18:35:01 +02:00
Nikos Mavrogiannopoulos
cbb7bb28c9 Added check for connection with incorrect certificate 2014-04-01 11:57:30 +02:00
Nikos Mavrogiannopoulos
936fefd79d distribute test-stress 2014-02-16 10:13:06 +01:00
Nikos Mavrogiannopoulos
828814862b Added stress test 2014-02-15 09:53:57 +01:00
Nikos Mavrogiannopoulos
0ec67882c0 Added support for multiple DNS and NBNS servers.
This patch also combines ipv4-dns and ipv6-dns options
that are now handled as aliases to dns.

A side-effect of this patch is that the local keyword is no
longer supported.
2014-02-01 14:50:52 +01:00
Nikos Mavrogiannopoulos
2045e6329b updated config files 2014-01-24 18:00:52 +01:00
Nikos Mavrogiannopoulos
cd2a4d1abf Added test-pam (which is only run manually) 2013-12-08 13:42:57 +01:00
Nikos Mavrogiannopoulos
816c51c7d2 reduced fragility of the tests 2013-12-08 13:28:26 +01:00
Nikos Mavrogiannopoulos
32bfe5f6ae store temp files in a fixed dir 2013-12-08 13:07:10 +01:00
Nikos Mavrogiannopoulos
190e81707e use regex for comparison 2013-12-05 20:53:35 +01:00
Nikos Mavrogiannopoulos
4eebd6eaa7 Added test case for the disconnection due to cookie re-use case. 2013-12-05 20:53:30 +01:00
Nikos Mavrogiannopoulos
5938943d39 use different ports per test 2013-11-23 16:55:38 +01:00
Nikos Mavrogiannopoulos
d91a8c5a1e daemon group is available in more systems. Use that for testing. 2013-11-23 16:50:40 +01:00
Nikos Mavrogiannopoulos
d7bee06bff relicensed after all authors agreed. 2013-11-19 18:19:46 +01:00
Nikos Mavrogiannopoulos
d85669aedc relicensed files. 2013-11-11 23:16:54 +01:00
Nikos Mavrogiannopoulos
44f0a7193a Added login-test when a connect or disconnect script is set. 2013-10-31 17:21:48 +01:00
Nikos Mavrogiannopoulos
a2c194f63f Added test to check the application of user routes. 2013-10-30 12:40:33 +01:00
Nikos Mavrogiannopoulos
b50aef1a8f Added test with only a certificate. 2013-10-29 20:19:31 +01:00
Mike Miller
fc56105126 Fix path to common.sh when tests run from another directory 2013-07-23 21:34:33 +02:00
Nikos Mavrogiannopoulos
2af67c4aff Added decoder for HTML-encoded and URL-encoded passwords and usernames.
This prevents special characters from not being recognized. Reported by P.H.Vos.
Also updated gnulib and added c-strncasecmp
2013-07-10 16:09:56 +02:00
Nikos Mavrogiannopoulos
bd1f6f411a moved common tests to common.sh 2013-07-07 21:16:28 +02:00
Nikos Mavrogiannopoulos
98dc60403b renamed scripts and added additional test with wrong username. 2013-07-07 20:08:32 +02:00
Nikos Mavrogiannopoulos
3e6e90f734 Added test suite that depends on openconnect. 2013-07-06 17:11:26 +02:00