summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2021-08-09 15:25:52 +0100
committerBrian C. Lane <bcl@redhat.com>2021-08-10 14:25:11 -0700
commit231a1e1d3ab525272b44bd20f703f9253fd1ed5c (patch)
treeb8a0ee7206e692f72b85b24192c18d1d599d97cc
parent8e97e5f7ad7cc8a1e6233306a45fcdbf08c959bd (diff)
downloadparted-231a1e1d3ab525272b44bd20f703f9253fd1ed5c.tar.gz
tests: check for vfat kernel support and tools
t1100-busy-label.sh and t1101-busy-partition.sh create and mount VFAT partitions, so check for both the tools and the kernel support. Fixes bug#49594. Signed-off-by: Brian C. Lane <bcl@redhat.com>
-rwxr-xr-xtests/t1100-busy-label.sh3
-rwxr-xr-xtests/t1101-busy-partition.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/t1100-busy-label.sh b/tests/t1100-busy-label.sh
index 71b847c..a77a70f 100755
--- a/tests/t1100-busy-label.sh
+++ b/tests/t1100-busy-label.sh
@@ -19,6 +19,9 @@
. "${srcdir=.}/init.sh"; path_prepend_ ../parted
require_root_
require_scsi_debug_module_
+require_fat_
+require_filesystem_ vfat
+
ss=$sector_size_
scsi_debug_setup_ sector_size=$ss dev_size_mb=10 > dev-name ||
diff --git a/tests/t1101-busy-partition.sh b/tests/t1101-busy-partition.sh
index 5e37814..c936718 100755
--- a/tests/t1101-busy-partition.sh
+++ b/tests/t1101-busy-partition.sh
@@ -22,6 +22,8 @@ test "$VERBOSE" = yes && parted --version
require_root_
require_scsi_debug_module_
+require_fat_
+require_filesystem_ vfat
# create memory-backed device
scsi_debug_setup_ dev_size_mb=10 > dev-name ||