Milan Broz
57eab17262
Use tabs in tests scripts consistently.
...
Really...
2020-12-02 13:04:44 +01:00
Milan Broz
4cf663a661
Ignore optimal-io if not aligned to minimal page size
...
This values is bogus on some systems and causes wrong alignment
for data area. Just ignore it there.
Fixes : #585 .
2020-08-26 13:17:26 +02:00
Milan Broz
4a8a1f2dde
Do not use /tmp for test images.
...
Keep all temporary files in local test directory.
2020-08-09 11:24:53 +02:00
Milan Broz
ff364347cf
Add FAIL backtrace to all bash tests.
2019-06-20 15:11:56 +02:00
Milan Broz
456ab38caa
Allow to set CRYPTSETUP_PATH in tests for system installed cryptsetup tools.
...
Run: make check CRYPTSETUP_PATH=/sbin
2019-03-08 08:16:45 +01:00
Ondrej Kozina
57670eeeb7
Detect LUKS2 default alignmnet in align tests.
2019-02-07 18:40:48 +01:00
Milan Broz
348d460ab7
Workarounds for larger LUKS2 header for tests.
2019-02-07 18:39:50 +01:00
Milan Broz
82a1f33260
Silence new warning in tests if run on older kernel.
2019-01-15 15:15:25 +01:00
Milan Broz
dfe61cbe9c
Fix sector-size tests for older kernels.
2018-11-24 20:10:03 +01:00
Milan Broz
18c9210342
Check for device size and sector size misalignment.
...
Kernel prevents activation of device that is not aligned
to requested sector size.
Add early check to plain and LUKS2 formats to disallow
creation of such a device.
(Activation will fail in kernel later anyway.)
Fixes #390 .
2018-11-24 18:53:46 +01:00
Ondrej Kozina
61305a50c1
Add delay=0 parameter to scsi_debug in all tests.
...
Speed up tests significantly.
2018-10-11 16:21:36 +02:00
Milan Broz
3f73d448f3
Retry temporary device removal in align test.
2018-09-10 15:53:27 +02:00
Ondrej Kozina
5a3e4abf71
Add basic LUKS2 align test.
2018-08-10 08:19:38 +02:00