Re: [PATCH] xfstests: made test 215 backwards compatible with older version of bash.

Dave Chinner
2010-03-31T22:31:40Z

On Wed, Mar 31, 2010 at 12:06:33PM -0700, Akshay Lal wrote:
> Test 215 fails on older versions of bash (2.x), mainly due to the use of
> 'let' for arithemetic operations. Changed to 'expr'.

If that is a problem for older bash versions, then there's going
systemic problems throughout the xfstests suite. The let expression
is used about 80 different places, and I don't see anything special
about test 215 that makes it any different from other uses. i might
be missing something, but there's not much context to go on from
your changelog....

Perhaps upgrading your version of bash might be a better approach?

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com