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:
parent
284fdb1745
commit
06e39625ee
@ -16,6 +16,8 @@ SKIP_WITH_LVMPOLLD=1
|
|||||||
|
|
||||||
. lib/inittest
|
. 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"
|
test "$DM_DEV_DIR" = "/dev" || skip "Only works with /dev access -> make check LVM_TEST_DEVDIR=/dev"
|
||||||
|
|
||||||
# requires trailing / to match dm
|
# requires trailing / to match dm
|
||||||
|
Loading…
Reference in New Issue
Block a user