* main - tests: skip test without mkfs.ext4
@ 2023-02-13 13:31 Zdenek Kabelac
0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2023-02-13 13:31 UTC (permalink / raw)
To: lvm-devel
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7ea62f640cbe41b981c56ee334d6924da3bb3c0a
Commit: 7ea62f640cbe41b981c56ee334d6924da3bb3c0a
Parent: 2241982f9636592268fc75b17d1a00e0ee786a65
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Fri Feb 10 23:07:52 2023 +0100
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Feb 13 13:41:59 2023 +0100
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-13 13:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 13:31 main - tests: skip test without mkfs.ext4 Zdenek Kabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.