X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sched.c;h=6bec1f733d66f1560104d3164b5c915c923cf683;hb=c26924950a3a546112e35c99aad85c0855f4664a;hp=77b2937b47c37f2cf09798d2e00710a6af1d8e5c;hpb=5e40996ccdb9e2f9398ecd7eccdf477b8e770461;p=gnulib.git diff --git a/tests/test-sched.c b/tests/test-sched.c index 77b2937b4..6bec1f733 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-2009 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