summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2021-07-29 11:19:15 -0700
committerBrian C. Lane <bcl@redhat.com>2021-07-29 11:19:15 -0700
commit964bc37f6c95308a64aa96534b29412ce55835fd (patch)
tree225e95c2b6889380913b32b536d9e19dc7950ded /tests
parent262a9242f5ad121ddcb42edaacadbc2e6a650333 (diff)
downloadparted-964bc37f6c95308a64aa96534b29412ce55835fd.tar.gz
tests/t3000: Use mkfs.hfsplus and fsck.hfsplus for resize tests
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t3000-resize-fs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/t3000-resize-fs.sh b/tests/t3000-resize-fs.sh
index 282b6fc..cf46c81 100755
--- a/tests/t3000-resize-fs.sh
+++ b/tests/t3000-resize-fs.sh
@@ -24,13 +24,13 @@ require_512_byte_sector_size_
FSTYPES=""
-# Is mkfs.hfs available?
-mkfs.hfs 2>&1 | grep '^usage:' && FSTYPES="hfs+"
+# Is mkfs.hfsplus available?
+mkfs.hfsplus 2>&1 | grep '^usage:' && FSTYPES="hfs+"
# Is mkfs.vfat available?
mkfs.vfat 2>&1 | grep '^Usage:' && FSTYPES="$FSTYPES fat32 fat16"
-[ -n "$FSTYPES" ] || skip_ "Neither mkfs.hfs nor mkfs.vfat installed"
+[ -n "$FSTYPES" ] || skip_ "Neither mkfs.hfsplus nor mkfs.vfat installed"
ss=$sector_size_
@@ -79,7 +79,7 @@ for fs_type in $FSTYPES; do
case $fs_type in
fat16) mkfs_cmd='mkfs.vfat -F 16'; fsck='fsck.vfat -v';;
fat32) mkfs_cmd='mkfs.vfat -F 32'; fsck='fsck.vfat -v';;
- hfs*) mkfs_cmd='mkfs.hfs'; fsck=fsck.hfs;;
+ hfs*) mkfs_cmd='mkfs.hfsplus'; fsck=fsck.hfsplus;;
*) error "internal error: unhandled fs type: $fs_type";;
esac