diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2015-09-09 09:46:56 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-09-18 17:31:36 +0100 |
commit | a16704261fc12259a2e61c00c3cef7be568d71f9 (patch) | |
tree | b536a58fb130719925cbc931daaab628d302e591 /tests/gem_storedw_loop.c | |
parent | ad4f3206dc05dcd1a65c9da08deb2b5d65e7a760 (diff) |
tests/gem_ctx_param_basic.c: fix non-root-set-no-zeromap subtest
The test expects an ioctl failure when it tries to set
CONTEXT_PARAM_NO_ZEROMAP from a non-root process. However, there is no
requirement in the kernel for the user to be root to set this parameter,
so the test is failing (it never passed as far as I'm aware of).
Fix the test by making it expect a successful ioctl completion.
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/gem_storedw_loop.c')
0 files changed, 0 insertions, 0 deletions