selftests/binderfs: add test for feature files
authorCarlos Llamas <cmllamas@google.com>
Thu, 15 Jul 2021 03:18:05 +0000 (03:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 11:46:36 +0000 (13:46 +0200)
commit07e913418ce4ba5eb620dd4668bf91ec94e11136
tree58490741fc408726b954963fb9f84650bb7992f7
parent06e1721d2a265d1247093f5ad5ae2958ef10a604
selftests/binderfs: add test for feature files

Verify that feature files are created successfully after mounting a
binderfs instance. Note that only "oneway_spam_detection" feature is
tested with this patch as it is currently the only feature listed.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20210715031805.1725878-3-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/filesystems/binderfs/binderfs_test.c