[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/10] tests: Change FAT volume label to be with in the valid cha
From: |
Glenn Washburn |
Subject: |
[PATCH 06/10] tests: Change FAT volume label to be with in the valid character range |
Date: |
Fri, 17 Sep 2021 23:04:00 +0000 |
The ';', semi-colon, character is not a valid character for a FAT filesystem
label. This test used to succeed because prior to v4.2 of dosfstools
mkfs.vfat did not enforce the character restrictions for volume labels. So
change the volume label string to be valid but contain symbol characters to
test odd volume labels.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
tests/util/grub-fs-tester.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in
index 96b204590..537cdd48b 100644
--- a/tests/util/grub-fs-tester.in
+++ b/tests/util/grub-fs-tester.in
@@ -343,9 +343,10 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE"
"$MAXLOGSECSIZE" 1); do
# FS LIMITATION: XFS label is at most 12 UTF-8 characters
x"xfs"|x"xfs_crc")
FSLABEL="géт 😁к";;
- # FS LIMITATION: FAT labels limited to 11 characters, no
international characters or lowercase
+ # FS LIMITATION: FAT labels limited to 11 characters, no
international characters or lowercase
+ # and excluding the restricted characters in "*?.,;:/\|+=<>[]"
x"vfat"* | xmsdos*)
- FSLABEL="GRUBTEST ;_";;
+ FSLABEL="G~!@#\$%^&(_";;
# FS LIMITATION: AFFS is latin1. At most 29 characters
x"affs" | xaffs_intl)
FSLABEL="grub_tt? #*w;/e£@¡¤½¾{[]}<>.,";;
--
2.32.0
- [PATCH 00/10] More test fixes/improvements, Glenn Washburn, 2021/09/17
- [PATCH 01/10] tests: Rename variable filtime -> filetime as its meant to be, Glenn Washburn, 2021/09/17
- [PATCH 02/10] tests: mkreiserfs only supports 4096 block size, Glenn Washburn, 2021/09/17
- [PATCH 04/10] tests: mkfs.btrfs now supports only 4k sector sizes and above, Glenn Washburn, 2021/09/17
- [PATCH 03/10] tests: Disable reiserfs tests for old format because newer kernels do not support them, Glenn Washburn, 2021/09/17
- [PATCH 05/10] tests: Only test minix3 volumes of 1k block size, Glenn Washburn, 2021/09/17
- [PATCH 06/10] tests: Change FAT volume label to be with in the valid character range,
Glenn Washburn <=
- [PATCH 07/10] tests: Skip hfs test only when mac_roman module is not loaded and not loadable, Glenn Washburn, 2021/09/17
- [PATCH 08/10] grub-shell: Boot PowerPC using PMU instead of CUDA for power management, Glenn Washburn, 2021/09/17
- [PATCH 09/10] tests: Output list of devices when partmap fails, Glenn Washburn, 2021/09/17
- [PATCH 10/10] tests: Do not delete filesystem images on error, Glenn Washburn, 2021/09/17