243: remove test files before starting

I found that overwriting existing files hides a bug
in ext4 (since fixed).  Removing the files before
the test reliably reproduces it.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
Eric Sandeen
2011-01-11 15:38:15 +00:00
committed by Alex Elder
parent ddaa9e9fbd
commit 2daf31b292
+3
View File
@@ -125,6 +125,9 @@ _require_xfs_io_falloc
# Real QA test starts here.
rm -f $seq.full
# Remove any leftover files from last run.
rm -f ${TEST_DIR}/test_?
# Begin test cases.
echo "Test 1: Fallocate 40960 bytes and write 4096 bytes (buffered io)." \
>> $seq.full