From 92e83cb379cd36c72ce1a254a1b80320b21a3ae1 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 30 Nov 2015 16:03:46 +0100 Subject: [PATCH] tests: Rename drm_auth to core_auth It really is a core drm testcase and not a libdrm testcase. While at it also make it generic, since it is. Cc: Daniel Stone Acked-by: Daniel Stone Signed-off-by: Daniel Vetter --- tests/.gitignore | 2 +- tests/Makefile.sources | 2 +- tests/{drm_auth.c => core_auth.c} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename tests/{drm_auth.c => core_auth.c} (97%) diff --git a/tests/.gitignore b/tests/.gitignore index 85936ea4..6291c04a 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,10 +1,10 @@ # Please keep sorted alphabetically +core_auth core_get_client_auth core_getclient core_getstats core_getversion core_prop_blob -drm_auth drm_import_export drm_read drm_vma_limiter diff --git a/tests/Makefile.sources b/tests/Makefile.sources index ff178f7a..ac3994da 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -98,11 +98,11 @@ TESTS_progs_M = \ $(NULL) TESTS_progs = \ + core_auth \ core_getclient \ core_getstats \ core_getversion \ core_prop_blob \ - drm_auth \ drm_import_export \ drm_read \ drm_vma_limiter \ diff --git a/tests/drm_auth.c b/tests/core_auth.c similarity index 97% rename from tests/drm_auth.c rename to tests/core_auth.c index d262469d..79bd5875 100644 --- a/tests/drm_auth.c +++ b/tests/core_auth.c @@ -120,7 +120,7 @@ static void test_basic_auth(int master) int slave; /* open slave and make sure it's NOT a master */ - slave = drm_open_driver(DRIVER_INTEL); + slave = drm_open_driver(DRIVER_ANY); igt_require(slave >= 0); igt_require(drmSetMaster(slave) < 0); @@ -151,7 +151,7 @@ igt_main int master; igt_fixture - master = drm_open_driver_master(DRIVER_INTEL); + master = drm_open_driver_master(DRIVER_ANY); igt_subtest("basic-auth") test_basic_auth(master);