[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: Switch to requiring exfatprogs from exfat-utils
From: |
Glenn Washburn |
Subject: |
[PATCH] tests: Switch to requiring exfatprogs from exfat-utils |
Date: |
Sat, 8 Jun 2024 23:42:43 -0500 |
The current Debian stable, now 12, has dropped the exfat-utils package
that the exfat filesystem test requires to run. There is an exfatprogs
package that replaces exfat-utils, though it is not a drop-in replacement
because mkfs.exfat has differing command line option names. Note, that
we're not yet switching to using the exfat kernel module because this
allows the testings on kernels that do not have the module.
Update mkfs.exfat usage to adhere to the different exfatprogs usage. Also,
the exfatprogs mkfs.exfat, following the exfat specification more closely,
only allows a maximum of 22 bytes of UTF-16 characters in the volume label
compared to 30 bytes from exfat-utils. So the exfat label test is updated
accordingly.
Update documentation to not that exfatprogs is now needed and also
exfat-fuse, which is needed do the fuse mount.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
INSTALL | 6 +++---
tests/util/grub-fs-tester.in | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/INSTALL b/INSTALL
index 84030c9f40ab..6b04e3016f87 100644
--- a/INSTALL
+++ b/INSTALL
@@ -83,9 +83,9 @@ Prerequisites for make-check:
exfat FUSE filesystem
* The following are Debian named packages required mostly for the full
suite of filesystem testing (but some are needed by other tests as well):
- - btrfs-progs, dosfstools, e2fsprogs, erofs-utils, exfat-utils, f2fs-tools,
- genromfs, hfsprogs, jfsutils, nilfs-tools, ntfs-3g, reiserfsprogs,
- squashfs-tools, reiserfsprogs, udftools, xfsprogs, zfs-fuse
+ - btrfs-progs, dosfstools, e2fsprogs, erofs-utils, exfatprogs, exfat-fuse,
+ f2fs-tools, genromfs, hfsprogs, jfsutils, nilfs-tools, ntfs-3g,
+ reiserfsprogs, squashfs-tools, reiserfsprogs, udftools, xfsprogs, zfs-fuse
- exfat-fuse, if not using the exfat kernel module
- gzip, lzop, xz-utils
- attr, cpio, g++, gawk, parted, recode, tar, util-linux
diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in
index df5dc7542a38..d0ba853243e6 100644
--- a/tests/util/grub-fs-tester.in
+++ b/tests/util/grub-fs-tester.in
@@ -362,9 +362,9 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE"
1); do
x"f2fs")
FSLABEL="grub_;/testé䏌䐓䏕киритiurewfceniuewruewnuuireurevueurnievrewfnerfcnevirivinrewvnirewnivrewiuvcrewvnuewvrrrewniuerwreiuviurewiuviurewnuvewnvrenurnunuvrevuurerejiremvreijnvvcreivire
nverivnreivrevnureiorfnfrvoeoiroireoireoifrefoieroifoirvcreivire
nverivnreivrevnureiorfnfrvoeoiroireoireoifrefoieroifoircreivire
nverivnreivrevnureiorfnfrvoeoiroireoireoifrefoieroifoireoifoiq";;
- # FS LIMITATION: exfat is at most 15 UTF-16 chars
+ # FS LIMITATION: exfat is at most 22 bytes of UTF-16 chars
x"exfat")
- FSLABEL="géт ;/莭莽😁кир";;
+ FSLABEL="éт ;/莭莽😁";;
# FS LIMITATION: ntfs label is at most ?? UTF-16 chars
x"ntfs"*)
FSLABEL="grub_;/testéтi
u莭😁茝кириrewfceniuewruevrewnuuireurevueurnievrewfnerfcnevirivinrewvniwnivrewiuvcrewvnuewvrrrewniureifiuewifjiww";;
@@ -710,7 +710,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE"
1); do
MOUNTFS="btrfs"
;;
x"exfat")
- "mkfs.$fs" -s $((BLKSIZE/512)) -n "$FSLABEL"
"${MOUNTDEVICE}"
+ "mkfs.$fs" -c $SECSIZE -L "$FSLABEL" "${MOUNTDEVICE}"
MOUNTOPTS="iocharset=utf8,"
MOUNTFS="exfat-fuse";;
x"minix")
--
2.34.1
- [PATCH] tests: Switch to requiring exfatprogs from exfat-utils,
Glenn Washburn <=