This patch allows BTRFS filesystems to be tested. The tests/filesystem all pass using './test -f btrfs' on Fedora 33. The tests/fs_filesystem fail 42 of 57 using './test -f btrfs' on Fedora 33. These fs_filesystem failures are caused by a bug when using the fsmount(2) type calls that was reported in [1]. Note btrfs requires a much larger image size (min 115 MiB), and therefore takes more than 2x longer to run tests than ext4. [1] https://lore.kernel.org/selinux/c02674c970fa292610402aa866c4068772d9ad4e.camel@xxxxxxxxxxxxxx/ V2 changes: 1) Add btrfs-progs entries for README and travis. 2) Add CONFIG_BTRFS_FS=y to defconfig. 3) Support testing all valid filesystems. Richard Haines (1): selinux-testsuite: Add btrfs support for filesystem tests README.md | 3 +++ defconfig | 4 ++++ tests/Makefile | 2 +- tests/filesystem/Filesystem.pm | 10 +++++++++- tests/filesystem/btrfs | 1 + tests/filesystem/test | 6 ++++++ tests/fs_filesystem/btrfs | 1 + tests/fs_filesystem/test | 6 ++++++ travis-ci/run-testsuite.sh | 1 + 9 files changed, 32 insertions(+), 2 deletions(-) create mode 120000 tests/filesystem/btrfs create mode 120000 tests/fs_filesystem/btrfs -- 2.28.0