All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - tests: check fsadm with missing filesystem
Date: Wed, 24 Mar 2021 15:41:54 +0000 (GMT)	[thread overview]
Message-ID: <20210324154154.8DE383865460@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2151b71819ffd45e71f2565aa2c0d2cb9685e2c0
Commit:        2151b71819ffd45e71f2565aa2c0d2cb9685e2c0
Parent:        28865f971e0b23f4d1a4117e0e0fdb61bd21d836
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Wed Mar 24 16:33:16 2021 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Wed Mar 24 16:38:12 2021 +0100

tests: check fsadm with missing filesystem

---
 test/shell/fsadm.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/shell/fsadm.sh b/test/shell/fsadm.sh
index 987b1a1a9..c5b3774c2 100644
--- a/test/shell/fsadm.sh
+++ b/test/shell/fsadm.sh
@@ -99,6 +99,10 @@ fsadm
 # check needs arg
 not fsadm check
 
+# check needs arg
+not fsadm resize "$dev_vg_lv" 30M |& tee out
+grep "Cannot get FSTYPE" out
+
 if check_missing ext2; then
 	mkfs.ext2 -b4096 -j "$dev_vg_lv"
 



                 reply	other threads:[~2021-03-24 15:41 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=20210324154154.8DE383865460@sourceware.org \
    --to=zkabelac@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.