]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common: skip tests using LVM when the device is no known
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Jan 2025 07:16:05 +0000 (08:16 +0100)
committerZorro Lang <zlang@kernel.org>
Sun, 2 Feb 2025 13:28:37 +0000 (21:28 +0800)
commita4163647375c11565ddaa2581b74c86ba8d11397
tree97615df0884e3017e55893d0d78668b10dc0b8de
parent1246241aa95463e0d04e937736a045c8e51e7058
common: skip tests using LVM when the device is no known

LVM has a lot of elaborate code to make the users life painful.  This
includes claiming the device type is unknown if it doesn't match it's
elaborately crafted internal list instead of just letting the user use
it.  Skip tests using LVM if this is the case to avoid arcane failures
due to missing lvm devices when using null_blk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/081
tests/generic/108
tests/generic/459