make 225 use SCRATCH_DEV
authorDave Chinner <dchinner@redhat.com>
Mon, 10 Oct 2011 02:14:14 +0000 (02:14 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 13 Oct 2011 15:44:31 +0000 (10:44 -0500)
commit3571a1a1955c82f1914428774b635450d44b43c5
treead3262672d394cf477b5166bb7525286f99fec9c
parent3196f530a8e0670fd5468af5d75e235a74e6cd37
make 225 use SCRATCH_DEV

Use the scratch device for test 225 so that both custom mkfs and
mount options impact the test (e.g. filesystem block size). This
exposes test failures when using 512 byte block sizes, which
currently not tested unless the test device is specifically created
with a 512 byte block size.

Also clean up the file names to include the test number, and don't
remove the test files after the test has finished so that it leaves
behind a corpse that can be dissected when the test fails.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
225