Michael Rash
40d554103c
[test suite] add negative time offset test to hit additional error path in client/config_init.c
2018-08-11 08:15:26 -07:00
Michael Rash
a7fc73b111
[test suite] start with -m32 gcc option for ASAN instrumentation check (32-bit compilation is preferred for ASAN operations)
2018-08-10 18:33:54 -07:00
Michael Rash
ffa6548946
[test suite] add --enable-cunit-tests to -h output
2018-08-10 18:32:26 -07:00
Michael Rash
be142216e4
[test suite] remove redundant statement
2018-08-10 08:54:07 -07:00
Michael Rash
9bdaf393bf
better ASAN instrumention check using readelf
2018-08-10 08:27:15 -07:00
Michael Rash
5a305ffe07
[test suite] improve ASAN instrumentation check (m32 vs. non-m32 Makefile option)
2018-08-10 07:44:10 -07:00
0b475ec7b3
Use execvp() instead of execvpe()
...
execvp() is (usually) equivalent to execvpe(), without enforcing any
change to the environment. However, unlike execvp(), execvpe() is not
standardized by POSIX, and may therefore not be available nor detected
when configuring the project (like on NetBSD).
No place could be found in fwknop to be using execvpe() and changing the
environment. Therefore it seems only logical (and safer) to use execvp()
instead.
This also updates the tests to reflect this change.
2018-08-06 12:04:45 +02:00
Michael Rash
456b51693f
minor README images path update
2017-03-28 22:56:08 -04:00
Michael Rash
d7412af09e
[test suite] don't use shell redirection char in bogus IP string
2016-12-09 19:23:11 -05:00
Michael Rash
8b734049a7
[test suite] only run user/group parity tests for non-root owner user
2016-12-09 19:17:24 -05:00
Michael Rash
f5509bcd0c
[server] Add MAX_FW_TIMEOUT to access.conf variables.
...
[server] Add MAX_FW_TIMEOUT to access.conf stanzas to allow a
maximum number of seconds for client-specified timeouts in SPA packets.
This fixes issue #226 which was spotted by Jeremiah Rothschild.
2016-09-29 22:18:13 -04:00
Michael Rash
183a9c5118
[docs] update links to Jonathan's new github username
2016-07-03 23:39:13 -04:00
Jonathan Bennett
a651b092cc
[Test suite] Typo fix
2016-05-30 14:33:19 -05:00
Jonathan Bennett
df47ed4ecd
[test suite] Modify test to work with iptables
2016-05-30 14:24:51 -05:00
Jonathan Bennett
d6b8205b2a
[Test suite] minor change to rerun-failed
2016-05-30 14:23:10 -05:00
Jonathan Bennett
8122e46bc7
[Test suite] rearranges processing of rerun-failed, handles options better
2016-05-30 09:19:58 -05:00
Jonathan Bennett
2d1568f413
[Test suite] Minor fix, prevent stall on slow systems
2016-05-29 18:02:49 -05:00
Michael Rash
2937bc1058
[test suite] fix NAT DNS bad host check
2016-05-28 05:24:29 -07:00
Michael Rash
7f12fc72d1
[test suite] more NAT DNS coverage
2016-05-28 05:06:07 -07:00
Michael Rash
8514061681
[test suite] minor removal of comments
2016-05-28 04:41:01 -07:00
Michael Rash
3a10ccff4d
[test suite] NAT DNS test coverage fix
2016-05-28 04:39:04 -07:00
Michael Rash
8366e118e2
[server] negative testing for ENABLE_NAT_DNS
2016-05-27 23:33:13 -07:00
Jonathan Bennett
ac247bb738
[Test suite] Adds --rerun-failed description to help output
2016-05-26 23:49:12 -05:00
Michael Rash
6e54e9452a
[test suite] add ENABLE_RULE_PREPEND test
2016-05-26 19:21:07 -07:00
Jonathan Bennett
6a8a554851
[Test suite] Adds tests for invalid server and client cmd lines involving --key-gen
2016-05-26 10:07:23 -05:00
Jonathan Bennett
d804ba33f5
[Test suite] Adds --no-rc-file tests
2016-05-25 21:21:48 -05:00
Jonathan Bennett
b0c0242054
[Test suite] Add a couple of tests for --no-home-dir
2016-05-25 09:31:06 -05:00
Jonathan Bennett
16dd3f4d32
[Test suite] Adds libfiu test to emulate failure in set_sig_handlers()
2016-05-24 22:02:42 -05:00
Michael Rash
08c6a9d4e2
[test suite] trigger a couple of -p errors for code coverage
2016-05-24 19:00:58 -07:00
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