projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
061258a
)
grub-fs-tester: Fix bashism
author
Vladimir Serbinenko
<phcoder@google.com>
Wed, 30 Aug 2017 15:22:58 +0000
(17:22 +0200)
committer
Vladimir Serbinenko
<phcoder@google.com>
Wed, 30 Aug 2017 19:31:26 +0000
(21:31 +0200)
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
fd7e0f1
..
15969d7
100644
(file)
--- a/
tests/util/grub-fs-tester.in
+++ b/
tests/util/grub-fs-tester.in
@@
-957,7
+957,7
@@
for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do
esac
# Make sure file is not exact multiple of block size. This helps to force
# tail packing in case of squash4.
- : $((BLOCKCNT--))
+ BLOCKCNT="$((BLOCKCNT-1))"
case x"$fs" in
x"ntfscomp")
setfattr -h -v 0x00000800 -n system.ntfs_attrib_be "$MNTPOINTRW/$OSDIR";;