879 Commits

Author SHA1 Message Date
Michael Rash
4122199139 [test suite] apply server output criteria in fault injection tests 2016-05-24 18:43:03 -07:00
Michael Rash
270d8bea62 [test suite] fault injection test for build_cmd() error path 2016-05-24 18:40:44 -07:00
Michael Rash
5194b4b69a [test suite] minor test addition for sudo exec groups and code coverage 2016-05-23 19:24:40 -07:00
Jonathan Bennett
d329b6ab39 [Test suite] Adds workaround for Openssl not yet supporting SHA3 hmac 2016-05-22 22:46:01 -05:00
Michael Rash
04b80c2cb2 Merge pull request #220 from oneru/rerun-failed
[Test suite] Adds rerun-failed mode
2016-05-22 21:45:59 -04:00
Jonathan Bennett
5f6b339868 [Test suite] Adds rerun-failed mode 2016-05-22 11:13:08 -05:00
Michael Rash
231cca538d [test suite] add missing config files for HMAC SHA3_256 tests 2016-05-21 18:04:00 -07:00
Michael Rash
a3adca69e1 [test suite] add HMAC SHA3_256 complete cycle test 2016-05-21 06:18:46 -07:00
Jonathan Bennett
ab599631ed Adds valgrind supression for libfaketime 2016-05-20 21:42:46 -05:00
Jonathan Bennett
55b9eac37c Test Suite: tweak a test to avoid --verbose in client call 2016-05-20 21:42:46 -05:00
Michael Rash
09fcad0f04 [test suite] add HMAC_SHA3_512 test 2016-05-20 18:45:20 -07:00
Jonathan Bennett
33d4cd3ce4 Test suite: Make timeout for rule expiration a loop. 2016-05-19 23:23:25 -05:00
Michael Rash
1d5fc8498f [test suite] add HMAC include_keys_file() test 2016-05-19 19:41:39 -07:00
Jonathan Bennett
6d663dd15c Test suite: Add missed curly bracket 2016-05-19 15:07:18 -05:00
Jonathan Bennett
bbaf57b66e Test suite: Adds timeout for generic_exec, prevents indefinite test suite hangs 2016-05-19 14:05:48 -05:00
Jonathan Bennett
5b2c29e46c Test suite: Fixes hmac verification for tests with multiple hmac keys 2016-05-19 14:04:24 -05:00
Jonathan Bennett
2c6396df5c Test suite: More timing tweaks 2016-05-19 14:03:15 -05:00
Jonathan Bennett
a63b92e07c test suite: When getting spa packet from log, get the last one 2016-05-18 22:55:06 -05:00
Michael Rash
e46938d5d1 [test suite] additional code coverage tests for include_keys_file() 2016-05-17 18:21:03 -07:00
Jonathan Bennett
f8273783da Test suite: Improve error handling for non-existant log files 2016-05-17 09:12:11 -05:00
Michael Rash
8334473887 Merge pull request #219 from oneru/test-suite 2016-05-14 23:19:17 -04:00
Jonathan Bennett
ef72883f8e test suite: update test to search for correct failure message 2016-05-14 00:59:00 -05:00
Michael Rash
be3c356661 [libfko] account for SHA3_256 and SHA3_512 digest lengths matching SHA256 and SHA512 2016-05-13 09:25:06 -07:00
Michael Rash
4707c4f3c3 [test suite] add SHA3_512 test for the client 2016-05-12 22:14:08 -07:00
Jonathan Bennett
66eedd4f7f Test suite: Adds workaround for tcp server test 2016-05-11 19:31:48 -05:00
Jonathan Bennett
c348950841 test suite: Adds another precise_sleep() to avoid race condition 2016-05-08 21:45:37 -05:00
Jonathan Bennett
ae442641b1 test suite: add delay loops to tolerate timing variations 2016-05-08 11:43:18 -05:00
Jonathan Bennett
7b11166260 Fix bogus NAT IP tests 2016-05-07 22:02:30 -05:00
Jonathan Bennett
194b83e89f Test suite: Catch Valgrind output even when less than 10 bytes lost 2016-05-06 08:14:36 -05:00
Jonathan Bennett
c6e95820a4 Add tests for include_keys 2016-05-05 13:26:35 -05:00
Jonathan Bennett
4eec3bd0c2 Test suite: Change sleep_cycle in fw_check to sleep for half seconds 2016-05-03 10:47:34 -05:00
Jonathan Bennett
afe1cd47b0 Add the precise_sleep() function to the test suite 2016-05-03 10:46:23 -05:00
Jonathan Bennett
58bce15b1e Exclude the CUnit tests themselves from lcov 2016-05-02 13:17:03 -05:00
Jonathan Bennett
da4e713ac3 Adds the c_unit tests to the perl test suite 2016-05-01 15:28:42 -05:00
Michael Rash
163176be7c [test suite] increase client timeout args for '-f client timeout' test (@oneru) 2016-05-01 10:35:03 -04:00
Michael Rash
d462b025c3 [test suite] fix sudo tests (localhost -> ALL) from @oneru 2016-04-30 09:36:36 -04:00
Michael Rash
e7f039699c [test suite] fix 'FORCE_SNAT and 0.0.0.0' test (@oneru) 2016-04-30 09:33:29 -04:00
Jonathan Bennett
94b33e0ba1 Increases a delay value in the test suite
The test suite was consistently showing the "exit upon down interface" as failing.
The 1 second delay was not enough time for my machine to completely close fwknopd, resulting in the false positive.
2016-04-19 14:48:03 -05:00
Michael Rash
9d92f65a03 [test suite] add test for X-Fowarded-For header 2016-04-16 07:40:24 -07:00
Michael Rash
84d4128812 [test suite] exclude test/fko-wrapper/* from code coverage stats (we want coverage for the client/server/lib code) 2016-04-15 17:37:16 -07:00
Michael Rash
f648fca6a2 [test suite] apply loopback interface to invalid pcap filter test 2016-04-11 20:47:29 -04:00
Michael Rash
5e7871c9c6 Merge pull request #208 from oneru/master 2016-04-10 13:30:46 -04:00
Jonathan Bennett
d939deb811 Spelling corrections, found using the codespell tool. 2016-04-10 12:03:59 -05:00
Michael Rash
d5c2989061 [test suite] restrict -f server instance to loopback interface 2016-04-10 11:15:14 -04:00
Michael Rash
06e42a3cfa [test suite] first test for include_keys functionality 2016-02-21 11:50:41 -08:00
Michael Rash
0a037d3554 [test suite] minor file existence check 2016-01-17 13:06:12 -08:00
Michael Rash
5e6530cc23 [test suite] bug fix in lcov coverage generation to pull in _base and _info into the final result 2016-01-11 22:22:02 -05:00
Michael Rash
1ace0ac547 [test suite] minor typo fix 2016-01-11 22:20:35 -05:00
Jonathan Bennett
108a669730 Update fko_wrapper to reflect SHA3 changing MAX_DIGEST_BLOCK_LEN 2016-01-11 00:04:09 -06:00
Michael Rash
fcb0102d69 [test suite] allow for different ordering of access.conf files in %include_folder directive 2015-12-23 10:56:41 -05:00