test-charset-fidelity: set iocharset in vfat/msdos FSes

The default charset for these filesystems depends on how the kernel was
configured with, so explicitly set the default one (as specified in
Linux sources), eventually setting later a new one for the tests.
This commit is contained in:
Pino Toscano
2014-09-10 11:01:34 +02:00
parent c49d35a919
commit a67845bfa0

View File

@@ -55,8 +55,8 @@ static struct filesystem filesystems[] = {
{ "ext3", 0, 0, NULL, NULL, 0, 0 },
{ "ext4", 0, 0, NULL, NULL, 0, 0 },
{ "btrfs", 0, 0, NULL, "btrfs", 0, 0 },
{ "vfat", 1, 0, "utf8", NULL, 1, 1 },
{ "msdos", 1, 1, NULL, NULL, 0, 0 },
{ "vfat", 1, 0, "iocharset=iso8859-1,utf8", NULL, 1, 1 },
{ "msdos", 1, 1, "iocharset=iso8859-1", NULL, 0, 0 },
/* In reality NTFS is case insensitive, but the ntfs-3g driver isn't. */
{ "ntfs", 0, 0, NULL, "ntfs3g", 0, 0 },
};