From: Eric Sandeen Date: Tue, 11 Jan 2011 15:38:15 +0000 (+0000) Subject: 243: remove test files before starting X-Git-Tag: v1.1.0~99 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=2daf31b292bc936493af7ea2878c96296546820b 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 Reviewed-by: Christoph Hellwig Signed-off-by: Alex Elder --- diff --git a/243 b/243 index 8b2e647d..48f79327 100755 --- a/243 +++ b/243 @@ -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