summaryrefslogtreecommitdiffstats
path: root/tests/f_clear_xattr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/f_clear_xattr/expect.138
-rw-r--r--tests/f_clear_xattr/expect.27
-rw-r--r--tests/f_clear_xattr/image.gzbin0 -> 1082 bytes
-rw-r--r--tests/f_clear_xattr/name1
4 files changed, 46 insertions, 0 deletions
diff --git a/tests/f_clear_xattr/expect.1 b/tests/f_clear_xattr/expect.1
new file mode 100644
index 0000000..5cfbeaf
--- /dev/null
+++ b/tests/f_clear_xattr/expect.1
@@ -0,0 +1,38 @@
+Pass 1: Checking inodes, blocks, and sizes
+Inode 14, i_blocks is 2, should be 0. Fix? yes
+
+Inode 12, i_blocks is 4, should be 2. Fix? yes
+
+Inode 13, i_blocks is 2, should be 0. Fix? yes
+
+Inode 15, i_blocks is 4, should be 2. Fix? yes
+
+Pass 2: Checking directory structure
+i_file_acl for inode 12 (/dir) is 22, should be zero.
+Clear? yes
+
+i_file_acl for inode 13 (/file) is 22, should be zero.
+Clear? yes
+
+i_file_acl for inode 14 (/symlink) is 22, should be zero.
+Clear? yes
+
+i_file_acl for inode 15 (/long-symlink) is 23, should be zero.
+Clear? yes
+
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Block bitmap differences: -(22--23)
+Fix? yes
+
+Free blocks count wrong for group #0 (76, counted=78).
+Fix? yes
+
+Free blocks count wrong (76, counted=78).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 15/16 files (0.0% non-contiguous), 22/100 blocks
+Exit status is 1
diff --git a/tests/f_clear_xattr/expect.2 b/tests/f_clear_xattr/expect.2
new file mode 100644
index 0000000..306d267
--- /dev/null
+++ b/tests/f_clear_xattr/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: 15/16 files (0.0% non-contiguous), 22/100 blocks
+Exit status is 0
diff --git a/tests/f_clear_xattr/image.gz b/tests/f_clear_xattr/image.gz
new file mode 100644
index 0000000..99aca14
--- /dev/null
+++ b/tests/f_clear_xattr/image.gz
Binary files differ
diff --git a/tests/f_clear_xattr/name b/tests/f_clear_xattr/name
new file mode 100644
index 0000000..2ead690
--- /dev/null
+++ b/tests/f_clear_xattr/name
@@ -0,0 +1 @@
+clearing i_file_acl when !ext_attr feature