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
Michael Rash
e7f1813962
[test suite] implement different access stanza init strategy, 'complete cycle, include (3)' test passes now
2015-12-20 18:17:42 -08:00
Michael Rash
dd2f4c2c38
[test suite] restore args too long tests
2015-12-19 16:36:45 -08:00
Michael Rash
5f895db744
[test suite] restore gpg home dir test
2015-12-19 16:13:23 -08:00
Michael Rash
10a2742a88
[test suite] add clean validation test for digest cache
2015-12-19 13:30:49 -08:00
Michael Rash
e25b78e81d
[test suite] restore digest cache validation with a new arg --exit-parse-digest-cache
2015-12-19 05:46:36 -08:00
Michael Rash
923b94bda7
[test suite] restore pcap dispatch count test
2015-12-19 05:06:38 -08:00
Michael Rash
beaf31ad5d
[test suite] restore previous args test
2015-12-19 05:01:55 -08:00
Michael Rash
fc8b2ee9c3
[test suite] additional %include_folder test
2015-12-17 23:07:03 -05:00
Michael Rash
8533d9d248
[server] use chop_char() to strip trailing '/' chars from directories
2015-12-17 22:51:08 -05:00
Michael Rash
d85b1077fb
[test suite] additional %include_folder tests
2015-12-15 11:58:12 -08:00
Michael Rash
8bab3cfbe3
[test suite] exercise free_cycle_list_node()
2015-12-15 11:26:29 -08:00