* [PATCH xfstests] 243: remove test files before starting
@ 2011-01-11 15:38 Eric Sandeen
2011-01-11 17:33 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2011-01-11 15:38 UTC (permalink / raw)
To: xfs-oss
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>
---
diff --git a/243 b/243
index 8b2e647..48f7932 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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-11 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 15:38 [PATCH xfstests] 243: remove test files before starting Eric Sandeen
2011-01-11 17:33 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox