diff mbox

[v3,4/7] tests: update core_get_client_auth to run on any platform

Message ID 1439565756-17248-5-git-send-email-micah.fedke@collabora.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Micah Fedke Aug. 14, 2015, 3:22 p.m. UTC
---
 tests/core_get_client_auth.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/tests/core_get_client_auth.c b/tests/core_get_client_auth.c
index 92313f9..3518bb7 100644
--- a/tests/core_get_client_auth.c
+++ b/tests/core_get_client_auth.c
@@ -84,7 +84,7 @@  igt_main
 {
 	/* root (which we run igt as) should always be authenticated */
 	igt_subtest("simple") {
-		int fd = drm_open_driver(DRIVER_INTEL);
+		int fd = drm_open_driver(OPEN_ANY_GPU);
 
 		igt_assert(check_auth(fd) == true);
 
@@ -92,8 +92,8 @@  igt_main
 	}
 
 	igt_subtest("master-drop") {
-		int fd = drm_open_driver(DRIVER_INTEL);
-		int fd2 = drm_open_driver(DRIVER_INTEL);
+		int fd = drm_open_driver(OPEN_ANY_GPU);
+		int fd2 = drm_open_driver(OPEN_ANY_GPU);
 
 		igt_assert(check_auth(fd2) == true);