From 8995efd22b317bf035db5d7ce8c2ee2561f572d5 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko 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 ef1020bbf..06070316c 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";;