Commit graph

19 commits

Author SHA1 Message Date
Jérémy Lecour f7e8324ba5 Embed check-incs and check-last-incs in bkctld 2020-04-18 10:29:21 +02:00
Jérémy Lecour e14ca8dff3 Bad firewall now returns a simple Warning 2020-04-11 08:53:41 +02:00
Jérémy Lecour e1208ed2b8 shellcheck improvements for bats tests 2020-04-08 16:49:27 +02:00
Jérémy Lecour e5997400cd bkctld-check: verify that firewall rules are sourced 2020-04-08 12:26:59 +02:00
Jérémy Lecour 5a90ae8a16 bkctld-ip: fail when trying to add an IP when there is no AllowUsers 2020-04-08 00:31:55 +02:00
Jérémy Lecour 86111acfea tests clarifications 2020-04-05 11:53:44 +02:00
Jérémy Lecour 5937a2d7aa Split tests in a few files and add many tests for incs and checks 2020-04-05 11:42:11 +02:00
Jérémy Lecour f6665c646b tests: use test helpers + add many test cases 2020-04-05 01:32:39 +02:00
Jérémy Lecour 4bf1ccecae Add test for incs_policy config file 2020-04-02 18:28:15 +02:00
Jérémy Lecour 4ef7ab2dde Fix tests 2020-04-02 14:51:09 +02:00
Jérémy Lecour 4c2480906f adaptation des scripts de test 2020-04-02 13:32:14 +02:00
Victor LABORIE b1905eeffe Rewrite bats test 2019-01-08 11:01:17 +01:00
Victor LABORIE ce674490f7 Add bats test for generate jails with different times 2018-05-30 18:33:36 +02:00
Victor LABORIE dcba6d5634 Merge check_nrpe into bkctld check subcommand 2018-05-30 16:39:26 +02:00
Victor LABORIE d27bbbc0f5 Rewrite bats tests 2018-03-28 15:11:49 +02:00
Victor LABORIE d430740383 Add bats test for NRPE check 2018-03-15 12:41:54 +01:00
Victor LABORIE 8bfa8e18dd Add basics tests with bats 2018-03-05 16:16:18 +01:00
Victor LABORIE 506b1e94f9 Use run command for bats test 2018-03-05 15:43:36 +01:00
Victor LABORIE 72993de1c2 Use bats for unit test with Vagrant 2018-03-05 15:29:08 +01:00