mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 15:56:33 +00:00
tests: update core_get_client_auth to run on any platform
Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
f91e93fa40
commit
253544f7a3
@ -83,7 +83,7 @@ igt_main
|
|||||||
{
|
{
|
||||||
/* root (which we run igt as) should always be authenticated */
|
/* root (which we run igt as) should always be authenticated */
|
||||||
igt_subtest("simple") {
|
igt_subtest("simple") {
|
||||||
int fd = drm_open_driver(DRIVER_INTEL);
|
int fd = drm_open_driver(DRIVER_ANY);
|
||||||
|
|
||||||
igt_assert(check_auth(fd) == true);
|
igt_assert(check_auth(fd) == true);
|
||||||
|
|
||||||
@ -91,8 +91,8 @@ igt_main
|
|||||||
}
|
}
|
||||||
|
|
||||||
igt_subtest("master-drop") {
|
igt_subtest("master-drop") {
|
||||||
int fd = drm_open_driver(DRIVER_INTEL);
|
int fd = drm_open_driver(DRIVER_ANY);
|
||||||
int fd2 = drm_open_driver(DRIVER_INTEL);
|
int fd2 = drm_open_driver(DRIVER_ANY);
|
||||||
|
|
||||||
igt_assert(check_auth(fd2) == true);
|
igt_assert(check_auth(fd2) == true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user