X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sched.c;h=15680d41211406f2ea2532332f44beba98a2d9d8;hb=6d273bef42e648ae9bd1d60923d2a4c8fc5dca94;hp=77b2937b47c37f2cf09798d2e00710a6af1d8e5c;hpb=5e40996ccdb9e2f9398ecd7eccdf477b8e770461;p=gnulib.git diff --git a/tests/test-sched.c b/tests/test-sched.c index 77b2937b4..15680d412 100644 --- a/tests/test-sched.c +++ b/tests/test-sched.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,6 +23,9 @@ /* Check that 'struct sched_param' is defined. */ static struct sched_param a; +/* Check that the SCHED_* macros are defined and compile-time constants. */ +int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER }; + static int f1; int