Milan Broz
c07cfa20de
test generators: unify checksum check functions
2022-04-09 21:25:55 +02:00
Milan Broz
6d8587c137
test generators: unify kill header check functions
2022-04-09 21:25:55 +02:00
Milan Broz
d43b495f21
test generators: unify mangle & kill header functions
2022-04-09 21:25:55 +02:00
Milan Broz
e97238fb6d
test generators: use one common cleanup function
2022-04-09 21:25:55 +02:00
Milan Broz
c9ead0482d
test generators: use one common prepare function
2022-04-09 21:25:55 +02:00
Milan Broz
57eab17262
Use tabs in tests scripts consistently.
...
Really...
2020-12-02 13:04:44 +01:00
Milan Broz
217cd0f5e9
Do not use dd for JSON metadata tests.
...
This should fix random testsuite failures.
2018-12-12 11:51:44 +01:00
Ondrej Kozina
024b5310fa
Add validation tests for non-default json area size.
...
Test both primary and secondary header validation tests
with non-default LUKS2 json area size.
Check validation rejects config.keyslots_size with zero value.
Check validation rejects mismatching values for metadata size
set in binary header and in config json section.
2018-11-26 16:28:07 +01:00
Milan Broz
c6d4ebd80c
Add libLUKS2 tests.
2017-09-24 19:50:17 +02:00