Commit Graph

25 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
265e30dab7 tests: full-test was moved into traffic test
The new traffic test only requires namespaces and no docker.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-04-05 20:06:27 +02:00
Nikos Mavrogiannopoulos
86fe0fc457 tests: added check with haproxy connection
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-04-04 07:22:49 +02:00
Nikos Mavrogiannopoulos
63b7e81e87 tests: added test with proxy-protocol
That tests operation under haproxy with proxy-protocol without docker.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-04-01 13:30:47 +02:00
Nikos Mavrogiannopoulos
5d0205332d tests: introduced test program to check basic vhost functionality
This checks whether connecting to different virtual hosts
with different authentication methods works.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-03-06 20:42:33 +01:00
Nikos Mavrogiannopoulos
00c6f566cb tests: introduced test with OTP-password and certificate auth
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-02-25 14:38:19 +01:00
Nikos Mavrogiannopoulos
6bf1341c21 .gitlab-ci.yml: root tests are run on CI systems
Because these tests can only be run in-tree, the CI builds
were switched to be in-tree, except for FreeBSD build which
now runs out-of-tree.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-09-09 11:35:14 +02:00
Nikos Mavrogiannopoulos
b3cbfbbcd5 tests: Added check for certificate alternative name checking
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-01-28 15:23:17 +01:00
Mike Miller
e69a07ed6e tests: allow running tests with alternate OpenConnect
Allow $OPENCONNECT in the caller's environment to override the default
openconnect system installation.

Signed-off-by: Mike Miller <mtmiller@debian.org>
2016-12-23 08:04:59 +01:00
Mike Miller
9f0776e6ae tests: ensure unique temporary config file names
Some unit tests share the same ocserv config file. Ensure that the file
written and used by each test script has a unique name.

Resolves #83

Signed-off-by: Mike Miller <mtmiller@debian.org>
2016-12-15 16:44:14 -08:00
Nikos Mavrogiannopoulos
e12d2e6818 tests: made pam check independent of builddir 2016-06-29 10:05:00 +02:00
Nikos Mavrogiannopoulos
ae3c20c3ed tests: pam tests were converted to use pam-wrapper
This allows running the PAM tests without requiring root access
2016-06-25 23:05:18 +02:00
Nikos Mavrogiannopoulos
f3a182dbdf tests: moved config files to data/ 2016-06-17 11:54:03 +02:00
Nikos Mavrogiannopoulos
5c88ee7715 tests: moved all certificates and keys in certs/ 2016-06-17 11:53:50 +02:00
Nikos Mavrogiannopoulos
9a125c3aba tests: update tests to include the running username/group
That removes the requirement to keep a uid_wrapper specific
hack in check_upeer_id().
2016-04-15 11:17:35 +02:00
Nikos Mavrogiannopoulos
d9fc3b465a tests: check for sever exit in test-cert 2015-11-28 20:25:28 +01:00
Nikos Mavrogiannopoulos
e91a56117b tests: modified cwrap tests to run from different builddir 2015-11-19 14:30:48 +01:00
Nikos Mavrogiannopoulos
345a752676 tests: converted part of the test suite to run with cwrap
That allows several tests to run as non-root.
2015-11-19 10:44:34 +01:00
Nikos Mavrogiannopoulos
eba415def6 tests: openconnect binary is now set in variable 2015-03-29 19:38:38 +02:00
Nikos Mavrogiannopoulos
5ef450086d tests: Increased the server start wait time 2014-06-26 13:46:31 +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
828814862b Added stress test 2014-02-15 09:53:57 +01:00
Nikos Mavrogiannopoulos
d7bee06bff relicensed after all authors agreed. 2013-11-19 18:19:46 +01:00
Nikos Mavrogiannopoulos
bd1f6f411a moved common tests to common.sh 2013-07-07 21:16:28 +02:00
Nikos Mavrogiannopoulos
3e6e90f734 Added test suite that depends on openconnect. 2013-07-06 17:11:26 +02:00