From 2151b71819ffd45e71f2565aa2c0d2cb9685e2c0 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 24 Mar 2021 16:33:16 +0100 Subject: [PATCH] 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"