aboutsummaryrefslogtreecommitdiffstats
path: root/tests/f_fast_symlink_extents
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-03-24 08:24:45 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-03-24 08:24:45 -0400
commit205372e24f90d93e55a25c6176bc55a94d304450 (patch)
tree2c34a0e57b164dd1f7d1597ba0edac13e310aa26 /tests/f_fast_symlink_extents
parentcb23cad5b750084212ca068a7212618e4b903730 (diff)
downloadandroid_external_e2fsprogs-205372e24f90d93e55a25c6176bc55a94d304450.tar.gz
android_external_e2fsprogs-205372e24f90d93e55a25c6176bc55a94d304450.tar.bz2
android_external_e2fsprogs-205372e24f90d93e55a25c6176bc55a94d304450.zip
Add new test case to check e2fsck's response to fast symlinks w/ EXTENTS_FL
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_fast_symlink_extents')
-rw-r--r--tests/f_fast_symlink_extents/expect.111
-rw-r--r--tests/f_fast_symlink_extents/expect.27
-rw-r--r--tests/f_fast_symlink_extents/image.gzbin0 -> 565 bytes
-rw-r--r--tests/f_fast_symlink_extents/name1
4 files changed, 19 insertions, 0 deletions
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 00000000..37eb0af9
--- /dev/null
+++ b/tests/f_fast_symlink_extents/image.gz
Binary files differ
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