gfs2-utils: Fix bashism in test script
PATCH 1/1 gfs2-utils: Fix bashism in test script
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)
/<<PKGBUILDDIR>>/tests/rgrifieldscheck.sh: 19: let: not found
--- tests/rgrifieldscheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/rgrifieldscheck.sh +1 -1
@@ -16,5 +16,5 @@ do exit 1 fi - test $field = ri_bitbytes && let i++ + test $field = ri_bitbytes && i=$((i+1)) done
Signature · 1 line
2.17.0
PATCH 1/1 gfs2-utils: Fix bashism in test script
Quoted 4 lines · Valentin Vidic
Tests fail when
/bin/shis not/bin/bashdue to missing let command:21: Values of
rg_data0,rg_data,rg_bitbytesFAILED (mkfs.at:146)
/<<PKGBUILDDIR>>/tests/rgrifieldscheck.sh: 19: let: not found
Applied - thanks!
Andy
Quoted 16 lines
--- tests/rgrifieldscheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/rgrifieldscheck.sh +1
-1@@ -16,5 +16,5 @@ do exit 1 fi - test $field = ri_bitbytes && let i++ + test $field = ri_bitbytes && i=$((i+1)) done