tests: expand testing
authorJo-Philipp Wich <jo@mein.io>
Wed, 31 Mar 2021 20:09:01 +0000 (22:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 31 Mar 2021 20:10:04 +0000 (22:10 +0200)
commit29fba840201287b9265888adba6298779b750af5
tree4bac04aa597de8843e52c35238582d34ba88791f
parent6bf82a8aa53bc59b6bf1efbe1babf6a9b5022cc2
tests: expand testing

 - Rewrite test framework
 - Add initial rule test coverage

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
14 files changed:
run_tests.sh
tests/01_configuration/01_ruleset
tests/03_rules/01_direction [new file with mode: 0644]
tests/03_rules/02_enabled [new file with mode: 0644]
tests/03_rules/03_constraints [new file with mode: 0644]
tests/03_rules/04_icmp [new file with mode: 0644]
tests/lib/mocklib.uc [new file with mode: 0644]
tests/lib/mocklib/fs.uc [new file with mode: 0644]
tests/lib/mocklib/ubus.uc [new file with mode: 0644]
tests/lib/mocklib/uci.uc [new file with mode: 0644]
tests/mock.uc [deleted file]
tests/mocks/uci/firewall.json
tests/mocks/uci/helpers.json
tests/test-wrapper.uc [deleted file]