[PATCH] xfstests 100: do not use scratch

Dave Chinner david at fromorbit.com
Mon Feb 18 16:12:48 CST 2013


On Mon, Feb 18, 2013 at 08:51:51AM +0100, Lukas Czerner wrote:
> Test #100 does not use scratch device at all but it still
> _require_scratch and _check_scratch_fs. This might also be a problem if
> the test before this one failed and corrupted scratch partition.
> 
> Remove the _require_scratch() and _check_scratch_fs() from the test.

Actaully, I think it should be using scratch - have  a look at where
TEMP_DIR is located. Yeah, it's /tmp, not the scratch device.

i.e. it should be using the TEST_DIR rather than tmp for building
the tarball, and scratch for restoring it....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list