xfstests: add test for renaming over non-empty directories

Per Posix renames over non-empty directories should fail, but hfsplus used to
allow this (and corrupt the filesystem while doing so).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
Christoph Hellwig
2010-11-09 14:53:39 +01:00
parent 77fe563a78
commit 3766237495
3 changed files with 68 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
QA output created by 245
mv: cannot move `TEST_DIR/test-mv/ab/aa/' to `TEST_DIR/test-mv/aa': File exists