diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched06.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched06.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c index 9a82d1d409..49eaa43f4d 100644 --- a/testsuites/psxtests/psxhdrs/sched06.c +++ b/testsuites/psxtests/psxhdrs/sched06.c @@ -27,6 +27,9 @@ void test( void ) policy = SCHED_RR; policy = SCHED_FIFO; policy = SCHED_OTHER; +#ifdef _POSIX_SPORADIC_SERVER + policy = SCHED_SPORADIC; +#endif result = sched_get_priority_max( policy ); } |