Whamcloud - gitweb
e2fsprogs-tests-f_unsorted_EAs.patch
authorAndreas Dilger <adilger@sun.com>
Sat, 2 Feb 2008 08:22:05 +0000 (01:22 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 19 Feb 2008 02:44:36 +0000 (21:44 -0500)
Test case for allowing unsorted EAs in the fast in-inode space.

Signed-off-by: Andreas Dilger <adilger@sun.com>
tests/f_unsorted_EAs/expect.1 [new file with mode: 0644]
tests/f_unsorted_EAs/expect.2 [new file with mode: 0644]
tests/f_unsorted_EAs/image.gz [new file with mode: 0644]
tests/f_unsorted_EAs/name [new file with mode: 0644]

diff --git a/tests/f_unsorted_EAs/expect.1 b/tests/f_unsorted_EAs/expect.1
new file mode 100644 (file)
index 0000000..7d588d7
--- /dev/null
@@ -0,0 +1,11 @@
+Adding dirhash hint to filesystem.
+
+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: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 12/2048 files (0.0% non-contiguous), 1294/2048 blocks
+Exit status is 1
diff --git a/tests/f_unsorted_EAs/expect.2 b/tests/f_unsorted_EAs/expect.2
new file mode 100644 (file)
index 0000000..414cc29
--- /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: 12/2048 files (0.0% non-contiguous), 1294/2048 blocks
+Exit status is 0
diff --git a/tests/f_unsorted_EAs/image.gz b/tests/f_unsorted_EAs/image.gz
new file mode 100644 (file)
index 0000000..42ab502
Binary files /dev/null and b/tests/f_unsorted_EAs/image.gz differ
diff --git a/tests/f_unsorted_EAs/name b/tests/f_unsorted_EAs/name
new file mode 100644 (file)
index 0000000..da9c9c3
--- /dev/null
@@ -0,0 +1 @@
+unsorted EAs in inode should not be deleted