Whamcloud - gitweb
Add regression test for resize2fs moving inodes with inline xattrs
authorEric Sandeen <sandeen@redhat.com>
Thu, 28 Feb 2008 19:22:12 +0000 (13:22 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 Feb 2008 00:50:09 +0000 (19:50 -0500)
commit09fbe0fb330ef8cd851b6044cf5333a138b79074
treea6f451bcf3f46d2443dff0f776757ad527d8bd6f
parent4ef28824ca29e86053398c3e4cecca6d88b2b397
Add regression test for resize2fs moving inodes with inline xattrs

The image contains an inode past the resize point with an inline xattr
value of "propervalue".  It also contains deleted inodes which had the
xattr value "oldvalue".

When resize2fs moves the inode, it should copy the xattr as well, so
that post-resize we see "propervalue" not "oldvalue".

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/r_inline_xattr/expect [new file with mode: 0644]
tests/r_inline_xattr/image.gz [new file with mode: 0644]
tests/r_inline_xattr/name [new file with mode: 0644]
tests/r_inline_xattr/script [new file with mode: 0644]