]> git.meshlink.io Git - meshlink/commit
Refactor the non-blackbox test suite.
authorGuus Sliepen <guus@meshlink.io>
Mon, 7 Oct 2019 10:53:18 +0000 (12:53 +0200)
committerGuus Sliepen <guus@meshlink.io>
Mon, 7 Oct 2019 12:12:47 +0000 (14:12 +0200)
commit9a2520c36431a8a5fd90451e97f488c22f4decc5
tree6fec16ed908cb9b50756ed1a2f32c87e0636f863
parentea20fcfcded669ce8fbbda3a1f93f354ed254603
Refactor the non-blackbox test suite.

- Add a default log callback function to utils.[ch]
- Use the functions from utils.[ch] where appropriate.
- Use assert() where possible.
- Make functions and variables static where possible.
- Remove the need for wrapper scripts.
42 files changed:
src/utcp
test/Makefile.am
test/basic.c
test/basic.test [deleted file]
test/basicpp.cpp
test/basicpp.test [deleted file]
test/blackbox/run_blackbox_tests/test_cases_key_rotation.c
test/channels-aio-fd.c
test/channels-aio-fd.test [deleted file]
test/channels-aio.c
test/channels-aio.test [deleted file]
test/channels-cornercases.c
test/channels-cornercases.test [deleted file]
test/channels-failure.c
test/channels-failure.test [deleted file]
test/channels-fork.c
test/channels-fork.test [deleted file]
test/channels-no-partial.c
test/channels-no-partial.test [deleted file]
test/channels-udp.c
test/channels-udp.test [deleted file]
test/channels.c
test/channels.test [deleted file]
test/duplicate.c
test/duplicate.test [deleted file]
test/echo-fork.c
test/encrypted.c
test/encrypted.test [deleted file]
test/ephemeral.c
test/ephemeral.test [deleted file]
test/import-export.c
test/import-export.test [deleted file]
test/invite-join.c
test/invite-join.test [deleted file]
test/sign-verify.c
test/sign-verify.test [deleted file]
test/trio.c
test/trio.test [deleted file]
test/trio2.c
test/trio2.test [deleted file]
test/utils.c
test/utils.h