btrfs support in libmount is optional. If it is not enabled, the test
will fail. Skip the test in that case.
Fixes: 4583d15248fd ("tests: add btrfs RAID is-mounted test for libmount")
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
ts_finalize_subtest
ts_init_subtest "is-mounted-btrfs"
+grep -q '#define HAVE_BTRFS_SUPPORT' ${top_builddir}/config.h || ts_skip_subtest "no btrfs support"
ts_run $TESTPROG --is-mounted "$TS_SELF/files/fstab_btrfs" "$TS_SELF/files/mountinfo_btrfs" &> "$TS_OUTPUT"
ts_finalize_subtest