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:
Micah Fedke 2015-08-13 13:59:23 +00:00 committed by Thomas Wood
parent f91e93fa40
commit 253544f7a3

View File

@ -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);