1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: check for loaded brd

Skip the test if the brd is already loaded in the system.
This commit is contained in:
Zdenek Kabelac 2023-07-17 13:21:59 +02:00
parent 284fdb1745
commit 06e39625ee

View File

@ -16,6 +16,8 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
test -d /sys/block/ram0 && skip "Ramdisk already loaded"
test "$DM_DEV_DIR" = "/dev" || skip "Only works with /dev access -> make check LVM_TEST_DEVDIR=/dev"
# requires trailing / to match dm