mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-12-01 08:49:52 +00:00
752ceb1640
Signed-off-by: Peter Jones <pjones@redhat.com>
22 lines
866 B
Diff
22 lines
866 B
Diff
From 4f31bfe1d36e95ca3b1cdaf6a9d45d1e3722ad2f Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Serbinenko <phcoder@google.com>
|
|
Date: Wed, 30 Aug 2017 17:22:58 +0200
|
|
Subject: [PATCH] grub-fs-tester: Fix bashism
|
|
|
|
---
|
|
tests/util/grub-fs-tester.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in
|
|
index fd7e0f14b68..15969d796a6 100644
|
|
--- 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";;
|