projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e5414b
)
grub-fs-tester: Fix fat test.
author
Vladimir Serbinenko
<phcoder@gmail.com>
Thu, 2 Feb 2017 22:19:00 +0000
(23:19 +0100)
committer
Vladimir Serbinenko
<phcoder@gmail.com>
Thu, 2 Feb 2017 22:19:00 +0000
(23:19 +0100)
mkfs.vfat ignores -S when invoked on a disk, including loopback device,
so do an mkfs on underlying image.
tests/util/grub-fs-tester.in
patch
|
blob
|
history
diff --git
a/tests/util/grub-fs-tester.in
b/tests/util/grub-fs-tester.in
index
d5c81a3
..
ad65e81
100644
(file)
--- a/
tests/util/grub-fs-tester.in
+++ b/
tests/util/grub-fs-tester.in
@@
-640,7
+640,7
@@
for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
else
A=
fi
- "mkfs.vfat" -a $A -S $SECSIZE -s $((BLKSIZE/SECSIZE)) -F "${BITS:0:2}" -n "$FSLABEL" "${
LODEVIC
ES[0]}"
+ "mkfs.vfat" -a $A -S $SECSIZE -s $((BLKSIZE/SECSIZE)) -F "${BITS:0:2}" -n "$FSLABEL" "${
FSIMAG
ES[0]}"
MOUNTOPTS="iocharset=utf8,codepage=437,"
MOUNTFS="$(echo "$fs"|sed 's,[0-9]*a\?$,,')";;
x"minix2")