Commit Graph

12 Commits

Author SHA1 Message Date
Jérôme Charaoui
52e4a2e304
improve robustness of sys tests 2023-02-12 13:00:22 -05:00
Jérôme Charaoui
ed55eaab73
install packages with explicit TMPDIR
For package installation, the runner $TMPDIR may not be big enough, eg
when rebuilding an initramfs it runs out of space, so use a new function
that sets it explicitly.
2023-02-12 13:00:21 -05:00
Jerome Charaoui
bb609a43f7 tests: trigger partition table refresh 2021-01-25 08:51:59 -05:00
Jerome Charaoui
142274d950 tests: use parentdir config in sys handler 2021-01-06 22:36:20 -05:00
Jerome Charaoui
0a5c57e42c tests: More thorough cleanup after sys tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
e61c53dd96 tests: Probe partition tables after parted 2021-01-06 22:36:20 -05:00
Jerome Charaoui
340853d96a tests: Seperate LUKS test for partition vs device 2021-01-06 22:36:20 -05:00
Jerome Charaoui
e4054ea85a tests: Replace ramdisks with "more real" disks for sys handler tests 2021-01-06 22:36:20 -05:00
Jerome Charaoui
2b130e171d tests: Add luks1/luks2 specific tests for sys handler 2021-01-06 22:36:20 -05:00
Jerome Charaoui
ce3e45ab44 tests: Make sys tests cases more efficient, add mbr 2021-01-06 22:36:20 -05:00
Jerome Charaoui
7bfe6f69fd tests: Improve naming is sys test cases 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