From 7ea62f640cbe41b981c56ee334d6924da3bb3c0a Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 10 Feb 2023 23:07:52 +0100 Subject: [PATCH] tests: skip test without mkfs.ext4 --- test/shell/fsadm-crypt-fsresize.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/shell/fsadm-crypt-fsresize.sh b/test/shell/fsadm-crypt-fsresize.sh index 56cd5c508..4ad2ab980 100644 --- a/test/shell/fsadm-crypt-fsresize.sh +++ b/test/shell/fsadm-crypt-fsresize.sh @@ -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