tests/gem_ctx_param_basic: fix invalid params

Use -1 as the invalid param since we've added more since this test was
created, causing expected EINVAL failures to return an unexpected error
code.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Jesse Barnes 2015-08-06 13:12:46 -07:00
parent 1ae1d290bf
commit 0b45b0746f

View File

@ -98,7 +98,7 @@ igt_main
ctx_param.size = 0;
}
ctx_param.param = LOCAL_CONTEXT_PARAM_BAN_PERIOD + 1;
ctx_param.param = -1;
igt_subtest("invalid-param-get") {
ctx_param.context = ctx;