]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfsqa: test 214 leaves files around that cause 236 to fail
authorDave Chinner <dchinner@redhat.com>
Thu, 24 Jun 2010 22:25:56 +0000 (08:25 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Jun 2010 22:25:56 +0000 (08:25 +1000)
commit44e51274c777fc699da48acabe8075e4a84742da
treef29c5bbae33c79cc0809a31d1e606eaca190b107
parent794798fa7464bcdf860d4e47d9b257e86a9bfbfa
xfsqa: test 214 leaves files around that cause 236 to fail

Test 214 and 236 use the same file names for test files in the TEST
filesystem and don't check/create clean initial test state. Hence if
you run 214 then 236, 236 will fail with:

+link: cannot create link `/mnt/test/ouch2' to `/mnt/test/ouch': File exists
+ctime: 1277076527 -> 1277076527
+Fatal error: ctime not updated after link

Ensure that both tests clean up after themselves properly and also
ensure a clean state before they start.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
214
236