mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip test without mkfs.ext4
This commit is contained in:
parent
2241982f96
commit
7ea62f640c
@ -23,6 +23,8 @@ export LVM_TEST_PREFER_BRD=0
|
||||
aux prepare_vg 1 300
|
||||
|
||||
# Tests require a libblkid version that shows FSLASTBLOCK
|
||||
which mkfs.ext4 || skip
|
||||
|
||||
lvcreate -n $lv1 -L 100 $vg
|
||||
mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
|
||||
blkid -p "$DM_DEV_DIR/$vg/$lv1" | grep FSLASTBLOCK || skip
|
||||
|
Loading…
Reference in New Issue
Block a user