[LTP] [PATCH v5] sched_getattr/sched_getattr02: Add new testcase for sched_getattr

Cyril Hrubis chrubis@suse.cz
Tue Nov 3 14:21:59 CET 2015


Hi!
> +	for (i = 0; i < TST_TOTAL; i++)
> +		sched_getattr_verify(&test_cases[i]);

I've readded the TEST_LOOPING() here, since I asked you to do this loop
inside of the TEST_LOOPING() loop, not to remove it. Once it's removed
the default test parameters does not work.

> +	tst_exit();
> +}
> +
> +void setup(void)
> +{
> +	unused_pid = tst_get_unused_pid(setup);
> +
> +	tst_require_root();

And I've removed the tst_require_root() since it's not needed as we do
not call setattr anymore.

And pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the Ltp mailing list