summaryrefslogtreecommitdiffstats
path: root/fs/ext4/Makefile
diff options
context:
space:
mode:
authorIurii Zaikin <yzaikin@google.com>2019-10-17 15:12:33 -0700
committerShuah Khan <skhan@linuxfoundation.org>2019-10-23 10:28:23 -0600
commit1cbeab1b242d16fdb22dc3dab6a7d6afe746ae6d (patch)
tree34cc768521b4563af29f2b9312ea7095487cfac6 /fs/ext4/Makefile
parentd460623c5fa126dc51bb2571dd7714ca75b0116c (diff)
downloadlinux-1cbeab1b242d16fdb22dc3dab6a7d6afe746ae6d.tar.bz2
ext4: add kunit test for decoding extended timestamps
KUnit tests for decoding extended 64 bit timestamps that verify the seconds part of [a/c/m] timestamps in ext4 inode structs are decoded correctly. Test data is derived from the table in the Inode Timestamps section of Documentation/filesystems/ext4/inodes.rst. KUnit tests run during boot and output the results to the debug log in TAP format (http://testanything.org/). Only useful for kernel devs running KUnit test harness and are not for inclusion into a production build. Signed-off-by: Iurii Zaikin <yzaikin@google.com> Reviewed-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Tested-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'fs/ext4/Makefile')
-rw-r--r--fs/ext4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/Makefile b/fs/ext4/Makefile
index b17ddc229ac5..840b91d040f1 100644
--- a/fs/ext4/Makefile
+++ b/fs/ext4/Makefile
@@ -13,4 +13,5 @@ ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
ext4-$(CONFIG_EXT4_FS_POSIX_ACL) += acl.o
ext4-$(CONFIG_EXT4_FS_SECURITY) += xattr_security.o
+ext4-$(CONFIG_EXT4_KUNIT_TESTS) += inode-test.o
ext4-$(CONFIG_FS_VERITY) += verity.o