OSDN Git Service

Add new test case to check e2fsck's response to fast symlinks w/ EXTENTS_FL
authorTheodore Ts'o <tytso@mit.edu>
Mon, 24 Mar 2008 12:24:45 +0000 (08:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Mar 2008 12:24:45 +0000 (08:24 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/f_fast_symlink_extents/expect.1 [new file with mode: 0644]
tests/f_fast_symlink_extents/expect.2 [new file with mode: 0644]
tests/f_fast_symlink_extents/image.gz [new file with mode: 0644]
tests/f_fast_symlink_extents/name [new file with mode: 0644]

diff --git a/tests/f_fast_symlink_extents/expect.1 b/tests/f_fast_symlink_extents/expect.1
new file mode 100644 (file)
index 0000000..dc16c97
--- /dev/null
@@ -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 (file)
index 0000000..416f49c
--- /dev/null
@@ -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 (file)
index 0000000..37eb0af
Binary files /dev/null and b/tests/f_fast_symlink_extents/image.gz differ
diff --git a/tests/f_fast_symlink_extents/name b/tests/f_fast_symlink_extents/name
new file mode 100644 (file)
index 0000000..333cb52
--- /dev/null
@@ -0,0 +1 @@
+fast symlink with extents flag set