All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - tests: skip lvresize tests without mkfs.xfs
Date: Mon, 10 Oct 2022 18:27:06 +0000 (GMT)	[thread overview]
Message-ID: <20221010182706.4F4E53858D37@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=fc01dd89006bc0a37351cca9332244bfa8d2f096
Commit:        fc01dd89006bc0a37351cca9332244bfa8d2f096
Parent:        13c63f0cfa22a0bc89b8d528b8e2301c49fc7b0d
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Mon Oct 10 13:25:50 2022 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon Oct 10 13:25:50 2022 -0500

tests: skip lvresize tests without mkfs.xfs

---
 test/shell/lvresize-fs-crypt.sh | 2 ++
 test/shell/lvresize-fs.sh       | 2 ++
 2 files changed, 4 insertions(+)

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


                 reply	other threads:[~2022-10-10 18:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221010182706.4F4E53858D37@sourceware.org \
    --to=teigland@sourceware.org \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.