Commit Graph

257 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
b088d2df73 Makefiles: combined the rules for local libraries 2016-04-16 10:47:18 +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
4c43f06ab5 tests: added check for connection using invalid certificate 2016-04-12 22:13:54 +02:00
Nikos Mavrogiannopoulos
071a37aaa4 tests: Added test for radius group receiving
This tests the receiving of groups using "Class" radius attribute
in the format "OU=group1;group2".
2016-04-01 15:39:38 +02:00
Nikos Mavrogiannopoulos
b5cabb9589 tests: added check for trim_trailing_whitespace() 2016-04-01 15:33:11 +02:00
Nikos Mavrogiannopoulos
34857ff5a5 tests: check for DNS information propagation in user config 2016-04-01 15:32:20 +02:00
Nikos Mavrogiannopoulos
4541a73d3d tests: fixed proxyproto test on debian 2016-03-05 16:58:17 +01:00
Nikos Mavrogiannopoulos
94e44d2eda tests: updated debian docker file 2016-03-05 14:10:30 +01:00
Nikos Mavrogiannopoulos
0be5ada07b tests: removed cookie key rotation check
It is no longer applicable.
2016-02-23 15:31:17 +01:00
Nikos Mavrogiannopoulos
220a6c2c4d tests: check the ipv4-network directive from user config 2016-02-23 14:49:20 +01:00
Nikos Mavrogiannopoulos
260b07955c tests: allow compilation with included protobuf 2016-02-23 14:19:02 +01:00
Nikos Mavrogiannopoulos
0d91834624 tests: allow compilation without http-parser lib 2016-02-19 10:05:48 +01:00
Nikos Mavrogiannopoulos
b3fe8afe3a tests: added check for human_addr() output 2016-02-19 10:04:21 +01:00
Nikos Mavrogiannopoulos
83dde24620 tests: reference debian testing by name 2016-02-14 14:50:49 +01:00
Nikos Mavrogiannopoulos
5dbe753512 tests: increase timeout for radius accounting report 2016-01-28 15:22:22 +01:00
Nikos Mavrogiannopoulos
d49d3f2253 tests: fixed test-sighup-key-change to be able to cope with diffent build dir 2016-01-27 11:56:50 +01:00
Nikos Mavrogiannopoulos
ed2edd65c5 tests: added check for certificate update on reload 2016-01-26 12:51:05 +01:00
Nikos Mavrogiannopoulos
507e725189 tests: fixed issues in radius-test-config 2016-01-19 11:59:37 +01:00
Nikos Mavrogiannopoulos
af95a67182 tests: enhanced the radius checks to test for Connect-Info presence 2016-01-19 11:37:05 +01:00
Nikos Mavrogiannopoulos
17473a734c tests: updated radius tests for Debian 2016-01-18 00:01:14 +01:00
Nikos Mavrogiannopoulos
ca5cae6f01 tests: use libradcli4 in debian builds 2015-12-22 00:27:30 +02:00
Nikos Mavrogiannopoulos
9979b8cde0 tests: kill politely openconnect in all docker tests 2015-12-07 14:40:36 +01:00
Nikos Mavrogiannopoulos
4fad865864 tests: proxyproto-test: kill openconnect more politely and give it few seconds before checking output 2015-12-07 14:35:30 +01:00
Nikos Mavrogiannopoulos
c9e3911eaf tests: use consistent name for PID file 2015-12-07 14:20:35 +01:00
Nikos Mavrogiannopoulos
420b003a23 tests: corrected routes in ocserv-fw-neg and ocserv-reload tests
Also simplified the ocserv-fw-neg test by not checking whether the
follow up script was run. This is part of the -fw test.
2015-12-07 14:19:07 +01:00
Nikos Mavrogiannopoulos
4df69f49b9 tests: added check for restrict-user-to-ports negation options 2015-12-07 11:34:41 +01:00
Nikos Mavrogiannopoulos
14d19b3e9a Enhanced configuration option 'restrict-user-to-ports'
This enhancement allows to negate the rules and allow the user connecting
to all ports except the specified.
2015-12-07 11:15:56 +01:00
Nikos Mavrogiannopoulos
8019490511 tests: added check for proper operation after SIGHUP
This test checks whether we can retrieve user information
even after a SIGHUP (the time where the old config is invalidated).
2015-12-07 10:38:16 +01:00
Nikos Mavrogiannopoulos
0e604b8a9f Master process was converted to use libev 2015-12-05 11:18:09 +01:00
Nikos Mavrogiannopoulos
446baaf95a tests: use a common macro to obtain docker image IP address 2015-12-02 10:41:13 +01:00
Nikos Mavrogiannopoulos
34ac6bce56 tests: check restrict-user-to-ports in firewall-test 2015-12-02 10:41:10 +01:00
Nikos Mavrogiannopoulos
2bb25347d0 tests: Added check for port parser 2015-12-02 10:41:00 +01:00
Nikos Mavrogiannopoulos
e215c77112 tests: check for %{RI} validity in test-iroute 2015-11-28 22:13:47 +01:00
Nikos Mavrogiannopoulos
d9fc3b465a tests: check for sever exit in test-cert 2015-11-28 20:25:28 +01:00
Nikos Mavrogiannopoulos
c40b0aed13 tests: check whether append-routes directive works 2015-11-28 19:41:39 +01:00
Nikos Mavrogiannopoulos
6ac03c0c80 tests: removed ipv6 functionality check from kerberos test 2015-11-27 09:42:35 +01:00
Nikos Mavrogiannopoulos
be77cdf671 tests: test-cookie-invalidation add a time wait after client termination
That ensures that the client is already terminated when the final check
starts.
2015-11-27 09:36:41 +01:00
Nikos Mavrogiannopoulos
e41d6b6e75 tests: updated radius config files for f23 2015-11-26 18:29:27 +01:00
Nikos Mavrogiannopoulos
ddddaee5be tests: check whether the firewall rules have been applied with restrict-user-to-routes 2015-11-23 17:43:14 +01:00
Nikos Mavrogiannopoulos
a556837f2b tests: check whether the routes and DNS servers are set in scripts 2015-11-23 10:53:51 +01:00
Nikos Mavrogiannopoulos
45c2fb55c8 tests: avoid source dependencies from other dirs in Makefile
That causes compilation errors under certain cirquimstances.
2015-11-19 14:35:16 +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
2b0102d1c5 tests: use more sensible names for pid files 2015-11-17 08:36:27 +01:00
Nikos Mavrogiannopoulos
f770e0000c tests: added check to verify the proper operation of cookie key rotation 2015-11-17 08:36:04 +01:00
Nikos Mavrogiannopoulos
684f779381 tests: use fedora 23 for docker images 2015-11-16 17:59:32 +01:00
Nikos Mavrogiannopoulos
0d9d283b12 tests: remove CCAN sources - we already link to libccan.a 2015-11-11 16:26:47 +01:00
Nikos Mavrogiannopoulos
b2881375af tests: use proper cflags after code refactor 2015-11-11 16:16:02 +01:00
Nikos Mavrogiannopoulos
1782dcb264 tests: ensure there are no leaks in ban-ips 2015-11-10 13:49:43 +01:00
Nikos Mavrogiannopoulos
d2dd7f124f tests: added unit test for IPv4 and IPv6 address banning 2015-11-10 13:49:36 +01:00