summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-09-02 20:49:09 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-09-03 10:37:51 -0400
commit16eca7ce12e8c4613cc3a9940c62b687e27da514 (patch)
tree70f2aea6ecf8d8994a7720caa1610c35a1871c41 /tests
parent576fada197763b3f60b37c265549bb19c7eebeb1 (diff)
downloade2fsprogs-16eca7ce12e8c4613cc3a9940c62b687e27da514.tar.gz
e2fsck: check the validity of the casefold flag
The casefold flag is only allowed on directories and when the casefold feature is enabled. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/f_bad_disconnected_inode/expect.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/f_bad_disconnected_inode/expect.1 b/tests/f_bad_disconnected_inode/expect.1
index c5ea7bf4..d1479cef 100644
--- a/tests/f_bad_disconnected_inode/expect.1
+++ b/tests/f_bad_disconnected_inode/expect.1
@@ -2,12 +2,18 @@ Pass 1: Checking inodes, blocks, and sizes
Inode 1 has EXTENTS_FL flag set on filesystem without extents support.
Clear? yes
+Inode 9 has the casefold flag set but is not a directory. Clear flag? yes
+
+Inode 14 has the casefold flag set but is not a directory. Clear flag? yes
+
Inode 14 has INLINE_DATA_FL flag on filesystem without inline data support.
Clear? yes
Inode 15 has INLINE_DATA_FL flag on filesystem without inline data support.
Clear? yes
+Inode 16 has the casefold flag set but is not a directory. Clear flag? yes
+
Inode 16 has INLINE_DATA_FL flag on filesystem without inline data support.
Clear? yes