2 # the test is is doomed to fail on Oracle Solaris and other OSes,
3 # which don't provide FSTYPENAME member in statfs structure.
4 # patch has been sent to upstream:
5 # https://github.com/proftpd/proftpd/pull/705
8 diff --git a/tests/api/fsio.c b/tests/api/fsio.c
9 index 508ca4657..72fad85c5 100644
10 --- a/tests/api/fsio.c
11 +++ b/tests/api/fsio.c
12 @@ -4637,7 +4637,9 @@ Suite *tests_get_fsio_suite(void) {
13 tcase_add_test(testcase, fs_fgetsize_test);
14 tcase_add_test(testcase, fs_fadvise_test);
15 tcase_add_test(testcase, fs_have_access_test);
16 +#if defined(HAVE_STATFS_F_TYPE) || defined(HAVE_STATFS_F_FSTYPENAME)
17 tcase_add_test(testcase, fs_is_nfs_test);
19 tcase_add_test(testcase, fs_valid_path_test);
20 tcase_add_test(testcase, fsio_smkdir_test);
21 tcase_add_test(testcase, fsio_getpipebuf_test);