From: Valentin Vidic Date: Wed, 30 May 2018 09:09:50 +0200 Subject: [Cluster-devel] [PATCH] gfs2-utils: Fix bashism in test script Message-ID: <20180530070950.28476-1-Valentin.Vidic@CARNet.hr> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Tests fail when /bin/sh is not /bin/bash due to missing let command: 21: Values of rg_data0, rg_data, rg_bitbytes FAILED (mkfs.at:146) /<>/tests/rgrifieldscheck.sh: 19: let: not found --- tests/rgrifieldscheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rgrifieldscheck.sh b/tests/rgrifieldscheck.sh index 85f6408e..1fbf6729 100755 --- a/tests/rgrifieldscheck.sh +++ b/tests/rgrifieldscheck.sh @@ -16,5 +16,5 @@ do exit 1 fi - test $field = ri_bitbytes && let i++ + test $field = ri_bitbytes && i=$((i+1)) done -- 2.17.0