From: Andreas Dilger Date: Fri, 13 Apr 2012 08:14:16 +0000 (-0600) Subject: tests: verify large xattr inode support X-Git-Tag: v1.42.3.wc1~10 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a2c96b65ece855e3da22464e89c9ccf20239c09c;p=tools%2Fe2fsprogs.git tests: verify large xattr inode support Verify that inodes with large EAs in a secondary inode are working: * EA inode needs to have EA_INODE_FL set * EA inode should reference parent inode number+generation Signed-off-by: Kalpak Shah Signed-off-by: Andreas Dilger --- diff --git a/tests/f_large_ea/expect.1 b/tests/f_large_ea/expect.1 new file mode 100644 index 0000000..31f7e8e --- /dev/null +++ b/tests/f_large_ea/expect.1 @@ -0,0 +1,27 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has invalid extended attribute. EA inode 79 missing EA_INODE flag. +Clear? yes + +Invalid backpointer from extended attribute inode 19 to parent inode 13. +Clear? yes + +Inode 14 has invalid extended attribute. EA inode 20 missing EA_INODE flag. +Clear? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Unattached inode 16 +Connect to /lost+found? yes + +Unattached inode 17 +Connect to /lost+found? yes + +Unattached inode 18 +Connect to /lost+found? yes + +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 20/256 files (20.0% non-contiguous), 1368/8192 blocks +Exit status is 1 diff --git a/tests/f_large_ea/expect.2 b/tests/f_large_ea/expect.2 new file mode 100644 index 0000000..766411b --- /dev/null +++ b/tests/f_large_ea/expect.2 @@ -0,0 +1,7 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +test_filesys: 20/256 files (20.0% non-contiguous), 1368/8192 blocks +Exit status is 0 diff --git a/tests/f_large_ea/image.gz b/tests/f_large_ea/image.gz new file mode 100644 index 0000000..0162113 Binary files /dev/null and b/tests/f_large_ea/image.gz differ diff --git a/tests/f_large_ea/name b/tests/f_large_ea/name new file mode 100644 index 0000000..9d45f60 --- /dev/null +++ b/tests/f_large_ea/name @@ -0,0 +1 @@ +large EAs