diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2015-08-06 13:12:46 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2015-08-06 13:17:48 -0700 |
commit | 0b45b0746f45deea11670a8b2c949776bbbef55c (patch) | |
tree | 8d9cce91512106a91e6c7d226f447a18e627b549 /tests | |
parent | 1ae1d290bf0b0c0f6a1e8f81d47c2a4f5a51714a (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_ctx_param_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_param_basic.c b/tests/gem_ctx_param_basic.c index b44b37cf..5ff3b13f 100644 --- a/tests/gem_ctx_param_basic.c +++ b/tests/gem_ctx_param_basic.c @@ -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; |