[PATCH] xfstests: Convert all tests to use /bin/bash

Eric Sandeen sandeen at sandeen.net
Tue Jan 19 17:37:25 CST 2010


Dave Chinner wrote:
> While most tests use /bin/sh, they are dependent on /bin/sh being a
> bash shell.  Convert all the tests to execute via /bin/bash as it is
> much, much simpler than trying to debug and remove all the bashisms
> throughout the test code.
> 
> Signed-off-by: Dave Chinner <david at fromorbit.com>

well, spoke a little too soon.

OK as far as it goes, but not quite far enough :)

the "new" file still contains sh and I guess it could be used
as a template so maybe fix that up.

and do you care about things like:

        | tee -a $here/$seq.full | sh


in 001?

-Eric




More information about the xfs mailing list