From db0f28aee8b7f95a10139993096d60ba2a89c6a5 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 6 Aug 2015 14:35:34 -0700 Subject: [PATCH] Revert "tests/gem_ctx_param_basic: fix invalid params" This reverts commit 0b45b0746f45deea11670a8b2c949776bbbef55c. We want to check against our local copy of the params so we can at least potentially catch new flag additions. Requested-by: Daniel Vetter Signed-off-by: Jesse Barnes --- tests/gem_ctx_param_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_ctx_param_basic.c b/tests/gem_ctx_param_basic.c index 5ff3b13f..b44b37cf 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 = -1; + ctx_param.param = LOCAL_CONTEXT_PARAM_BAN_PERIOD + 1; igt_subtest("invalid-param-get") { ctx_param.context = ctx;