Re: [sched] d50dde5a1: LTP sched_setparam* TFAILs

From: Peter Zijlstra
Date: Wed Jan 15 2014 - 08:10:07 EST


On Wed, Jan 15, 2014 at 08:47:39PM +0800, Fengguang Wu wrote:
> Hi Dario,
>
> We notice the below LTP failures since commit d50dde5a1 ("sched: Add
> new scheduler syscalls to support an extended scheduling parameters
> ABI") in tip tree's sched/core branch:
>
> ltp.sched_setparam02.1.TFAIL
> ltp.sched_setparam02.2.TFAIL
> ltp.sched_setparam02.3.TFAIL
> ltp.sched_setparam03.1.TFAIL
>
> It seems that the LKP test failures are somehow expected due to the
> change of ABI. However it does mean that these test cases will need to
> be updated.

So with LTP from https://github.com/linux-test-project/ltp.git
and a tip/master build, I get:

root@westmere:/usr/local/src/ltp/testcases/kernel/syscalls/sched_setscheduler# ./sched_setscheduler01
sched_setscheduler01 1 TPASS : expected failure - errno = 3 : No such process
sched_setscheduler01 2 TPASS : expected failure - errno = 22 : Invalid argument
sched_setscheduler01 3 TPASS : expected failure - errno = 14 : Bad address
sched_setscheduler01 4 TPASS : expected failure - errno = 22 : Invalid argument
root@westmere:/usr/local/src/ltp/testcases/kernel/syscalls/sched_setscheduler# ./sched_setscheduler02
sched_setscheduler02 1 TPASS : got EPERM



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/