]> git.ipfire.org Git - thirdparty/mdadm.git/commit
tests: Gate tests for linear flavor with variable LINEAR
authorSong Liu <song@kernel.org>
Tue, 9 Jan 2024 23:07:16 +0000 (15:07 -0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 16 Jan 2024 11:03:27 +0000 (12:03 +0100)
commit64a4fcb4c2b91d18955752e76517dee2d17b1647
treecc7cb06d4afb40889720d129540f4b037e0ba17f
parent582945c2d3bbead4a71de521a392e292a4a84e24
tests: Gate tests for linear flavor with variable LINEAR

linear flavor is being removed in the kernel [1], so tests for the linear
flavor will fail. Add detection for linear flavor and --disable-linear
option, with the same logic as multipath.

[1] https://lore.kernel.org/linux-raid/20231214222107.2016042-1-song@kernel.org/
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
test
tests/00linear
tests/00names
tests/00raid0
tests/00readonly
tests/02lineargrow
tests/03assem-incr
tests/03r0assem
tests/04r0update
tests/func.sh