From c3788de0b891181a7d48421c7da2ca24d2678bbd Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 15 Nov 2008 13:09:57 +0100 Subject: Test also the existence of the SCHED_* macros. --- tests/test-sched.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test-sched.c') diff --git a/tests/test-sched.c b/tests/test-sched.c index 77b2937b47..8925d3aa4a 100644 --- a/tests/test-sched.c +++ b/tests/test-sched.c @@ -23,6 +23,9 @@ /* Check that 'struct sched_param' is defined. */ static struct sched_param a; +/* Check that the SCHED_* macris are defined and compile-time constants. */ +static int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; + static int f1; int -- cgit v1.2.1