]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: Add rudimetary RENAME_WHITEOUT test
authorDave Chinner <dchinner@redhat.com>
Wed, 18 Mar 2015 03:55:21 +0000 (14:55 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 18 Mar 2015 03:55:21 +0000 (14:55 +1100)
commit4f9fb9deb0c2171be41369c74c3d05d0240a6660
tree1204a0255e698ee4aece6d760253db09a73afb5f
parentee6ad7f578f29da0a0f5eab1573710194ce1dbdf
generic: Add rudimetary RENAME_WHITEOUT test

There is no API documentation for RENAME_WHITEOUT. There is no
developer documentation for RENAME_WHITEOUT. There are not comments
in the overlayfs or ext4 implementation of RENAME_WHITEOUT.

Hence, this test simply tries to expose basic RENAME_WHITEOUT
behaviour from ext4 so we can reverse-engineer and verify
bug-for-bug renameat2(RENAME_WHITEOUT) ext4 compatibility.

Note: uses generic/078 just to keep out of the way of the 6-7 other
pending new tests.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/renameat2.c
tests/generic/078 [new file with mode: 0755]
tests/generic/078.out [new file with mode: 0644]
tests/generic/group