Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/lib/librt



On Sat, Mar 17, 2012 at 10:14:16PM -0400, Christos Zoulas wrote:
> Module Name:  src
> Committed By: christos
> Date:         Sun Mar 18 02:14:16 UTC 2012
> 
> Modified Files:
>       src/tests/lib/librt: t_sched.c
> 
> Log Message:
> this should be fixed.

Hmm. But now it fails with the third check:

        pid_t p = getpid();   
   
        /*
         * IEEE Std 1003.1-2008: if the supplied pid is zero,
         * the parameters for the calling process are returned.
         */
        ATF_REQUIRE(sched_getparam(0, &s1) == 0);
        ATF_REQUIRE(sched_getparam(p, &s2) == 0);
[HERE]  ATF_REQUIRE(s1.sched_priority == s2.sched_priority);

- Jukka.


Home | Main Index | Thread Index | Old Index