summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2015-08-06 14:35:34 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2015-08-06 14:35:34 -0700
commitdb0f28aee8b7f95a10139993096d60ba2a89c6a5 (patch)
treed43ebd20b6e7ea8ecbf063e3329b79f65dc9d5dd
parent0b45b0746f45deea11670a8b2c949776bbbef55c (diff)
Revert "tests/gem_ctx_param_basic: fix invalid params"HEADmaster
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 <daniel.vetter@ffwll.ch> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--tests/gem_ctx_param_basic.c2
1 files changed, 1 insertions, 1 deletions
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;