From 205372e24f90d93e55a25c6176bc55a94d304450 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 24 Mar 2008 08:24:45 -0400 Subject: [PATCH] Add new test case to check e2fsck's response to fast symlinks w/ EXTENTS_FL Signed-off-by: "Theodore Ts'o" --- tests/f_fast_symlink_extents/expect.1 | 11 +++++++++++ tests/f_fast_symlink_extents/expect.2 | 7 +++++++ tests/f_fast_symlink_extents/image.gz | Bin 0 -> 565 bytes tests/f_fast_symlink_extents/name | 1 + 4 files changed, 19 insertions(+) create mode 100644 tests/f_fast_symlink_extents/expect.1 create mode 100644 tests/f_fast_symlink_extents/expect.2 create mode 100644 tests/f_fast_symlink_extents/image.gz create mode 100644 tests/f_fast_symlink_extents/name diff --git a/tests/f_fast_symlink_extents/expect.1 b/tests/f_fast_symlink_extents/expect.1 new file mode 100644 index 00000000..dc16c978 --- /dev/null +++ b/tests/f_fast_symlink_extents/expect.1 @@ -0,0 +1,11 @@ +Pass 1: Checking inodes, blocks, and sizes +Fast symlink 13 has EXTENT_FL set. 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/16 files (0.0% non-contiguous), 21/100 blocks +Exit status is 1 diff --git a/tests/f_fast_symlink_extents/expect.2 b/tests/f_fast_symlink_extents/expect.2 new file mode 100644 index 00000000..416f49c5 --- /dev/null +++ b/tests/f_fast_symlink_extents/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/16 files (0.0% non-contiguous), 21/100 blocks +Exit status is 0 diff --git a/tests/f_fast_symlink_extents/image.gz b/tests/f_fast_symlink_extents/image.gz new file mode 100644 index 0000000000000000000000000000000000000000..37eb0af9eacb7a6fb9d266cf8cadda67444b8a82 GIT binary patch literal 565 zcmb2|=HLjP{oI|2IWspgJ(c0@jlJ1d5@gsv#0c%Y753VjRsHtb<^l^2t{|`7ca%yC zN;gi~)zPlcF1vd2KW3%7R#rQ#r(D|DUEk2OSwA3_g>~xZldHJrx6$?!SWB*2EZkOhszxd|a zvdiz@w>eF7(rY{Ois+Z{rt32U3&fUW9MyZ|Ja}V`u51?U){&foLc-`KYYFI zo{tK8HP`L>Z37ICSRB|?* zr`?Sc4l6eQ{PnEh#KZ}U6_tNlz4|yo_-54e{b%-vS!EmC{QSOV-rF!fajD*Y=Rdx_ z(;ja9^1su(wSW1yY%jk4{>$C}+xLH&?`A*$|8%bZj7R_Fo6qk4`|bZ<{=d^>@5r5= zy5rjI{>M>kjgPr6KKLW;@w>g7xqF|j{dsPNeBY!jGqKGZ_fJ&0`ff*r@1<9H?*upe zZ>wAR-`{ijzs5-(u}lH~8-B50v0w0y@hks|dWXNvujIi(4Acb)%j+0^|9Y&>FoBT) E0Cgb^SpWb4 literal 0 HcmV?d00001 diff --git a/tests/f_fast_symlink_extents/name b/tests/f_fast_symlink_extents/name new file mode 100644 index 00000000..333cb52c --- /dev/null +++ b/tests/f_fast_symlink_extents/name @@ -0,0 +1 @@ +fast symlink with extents flag set