2 # There is no getrlimit() syscall on Oracle Solaris. It makes no
3 # sense to attempt to run such test case on Oracle Solaris.
4 # Patch has been sent to upstream:
5 # https://github.com/proftpd/proftpd/pull/716
6 # The patch will die with future re-sync.
9 diff --git a/tests/api/rlimit.c b/tests/api/rlimit.c
10 index c683081a8..936ad9a09 100644
11 --- a/tests/api/rlimit.c
12 +++ b/tests/api/rlimit.c
13 @@ -184,7 +184,9 @@ Suite *tests_get_rlimit_suite(void) {
14 tcase_add_test(testcase, rlimit_cpu_test);
15 tcase_add_test(testcase, rlimit_files_test);
16 tcase_add_test(testcase, rlimit_memory_test);
18 tcase_add_test(testcase, rlimit_nproc_test);
19 +#endif /* RLIMIT_NPROC */
21 suite_add_tcase(suite, testcase);