From: Andreas Dilger Date: Thu, 12 Apr 2012 22:57:40 +0000 (-0600) Subject: tests: invalid value of in-inode EA offset X-Git-Tag: v1.42.13.wc3~29 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=74cb86f0cfde718c050f675c810294c854df1ace;p=tools%2Fe2fsprogs.git tests: invalid value of in-inode EA offset Signed-off-by: Andreas Dilger --- diff --git a/tests/f_bad_ea_value/expect.1 b/tests/f_bad_ea_value/expect.1 new file mode 100644 index 0000000..b194532 --- /dev/null +++ b/tests/f_bad_ea_value/expect.1 @@ -0,0 +1,11 @@ +Pass 1: Checking inodes, blocks, and sizes +Extended attribute in inode 13 is corrupt (invalid value).Clear? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/2048 files (0.0% non-contiguous), 1293/2048 blocks +Exit status is 1 diff --git a/tests/f_bad_ea_value/expect.2 b/tests/f_bad_ea_value/expect.2 new file mode 100644 index 0000000..0f0e682 --- /dev/null +++ b/tests/f_bad_ea_value/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: 13/2048 files (0.0% non-contiguous), 1293/2048 blocks +Exit status is 0 diff --git a/tests/f_bad_ea_value/image.gz b/tests/f_bad_ea_value/image.gz new file mode 100644 index 0000000..1e5d8ca Binary files /dev/null and b/tests/f_bad_ea_value/image.gz differ diff --git a/tests/f_bad_ea_value/name b/tests/f_bad_ea_value/name new file mode 100644 index 0000000..407dca3 --- /dev/null +++ b/tests/f_bad_ea_value/name @@ -0,0 +1 @@ +invalid value of in-inode EA offset