]> granicus.if.org Git - strace/commit
tests: add more tests for sched_getscheduler and sched_xetscheduler
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 5 Sep 2016 01:31:35 +0000 (04:31 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 5 Sep 2016 15:58:35 +0000 (15:58 +0000)
commit7890a1e20896d24217a71a4b40c1fbde8beabb08
tree63057c43fbed50a3e3f69d73dcd6bc94bdc24282
parent88d0a427ed04f5388ca70e5159db6a87f76b0889
tests: add more tests for sched_getscheduler and sched_xetscheduler

* tests/sched_xetscheduler.c (main): Check for decoding of invalid PID
in sched_getscheduler and sched_setscheduler, invalid address
of sched_param structure, and invalid policy value.
tests/sched_xetscheduler.c