Commit Graph

13 Commits

Author SHA1 Message Date
Jérôme Charaoui
01311ad238
add basic test for prometheus exporter 2023-02-12 13:59:23 -05:00
Jérôme Charaoui
21ff09e2ec
add test for reportemail = no 2023-02-12 13:32:52 -05:00
Jerome Charaoui
f6870a613e tests: add tests for reporthost functionality 2021-01-24 14:17:27 -05:00
Jerome Charaoui
e1748c9800 tests: add test for admingroup config parameter 2021-01-24 11:51:16 -05:00
Jerome Charaoui
ede337dbcd add reportwrap config parameter
set to wrap at 1000 columns by default to avoid MTA rejection allowed by
SMTP RFC2821
2021-01-23 22:50:15 -05:00
Jerome Charaoui
76b457cc4d raise error if mail isn't found in $PATH and reportemail = yes 2021-01-23 22:00:42 -05:00
Jerome Charaoui
6937842e68 backup halt should trigger email report if enabled 2021-01-23 18:21:40 -05:00
Jerome Charaoui
f8755d6320 tests: fix exit status check 2021-01-23 14:40:29 -05:00
Jerome Charaoui
407faf1a52 tests: adjust tests for new exit codes 2021-01-10 15:24:05 -05:00
Jerome Charaoui
6564cff1ce tests: resolve function name collision 2021-01-06 22:36:20 -05:00
Jerome Charaoui
26e530ea9d tests: loglevel 5 is now default for all tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
b67d785937 tests: Fix scheduling testcase 2021-01-06 22:36:20 -05:00
Jerome Charaoui
427ff780a4 tests: Introduce bats-based testsuite
- Depends on being run inside vagrant
 - Installs dependencies automatically
 - Environment is fully reset for each test
 - Adds testcases for backupninja and sys handler
 - Docs are missing but will be added

Two tests are currently failing due to two bugs, one of which has gone
unreported.
2021-01-06 22:36:20 -05:00