diff options
author | David Teigland <teigland@redhat.com> | 2022-10-10 13:25:50 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-10-10 13:25:50 -0500 |
commit | fc01dd89006bc0a37351cca9332244bfa8d2f096 (patch) | |
tree | cd510faf12ec9df3c8b6944cb99e2820f86afdd6 | |
parent | 13c63f0cfa22a0bc89b8d528b8e2301c49fc7b0d (diff) | |
download | lvm2-fc01dd89006bc0a37351cca9332244bfa8d2f096.tar.gz |
tests: skip lvresize tests without mkfs.xfs
-rw-r--r-- | test/shell/lvresize-fs-crypt.sh | 2 | ||||
-rw-r--r-- | test/shell/lvresize-fs.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/shell/lvresize-fs-crypt.sh b/test/shell/lvresize-fs-crypt.sh index 0fbb2716e..e7b8b9426 100644 --- a/test/shell/lvresize-fs-crypt.sh +++ b/test/shell/lvresize-fs-crypt.sh @@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1 aux prepare_vg 3 256 +which mkfs.xfs || skip + # Tests require a libblkid version that shows FSLASTBLOCK lvcreate -n $lv1 -L 300 $vg mkfs.xfs -f "$DM_DEV_DIR/$vg/$lv1" diff --git a/test/shell/lvresize-fs.sh b/test/shell/lvresize-fs.sh index e4d315b95..d4b6484c0 100644 --- a/test/shell/lvresize-fs.sh +++ b/test/shell/lvresize-fs.sh @@ -17,6 +17,8 @@ SKIP_WITH_LVMPOLLD=1 aux prepare_vg 3 256 +which mkfs.xfs || skip + # Test combinations of the following: # lvreduce / lvextend # no fs / ext4 / xfs |