[igt-dev] [PATCH i-g-t] tests/core_auth: Added test description for test case
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Thu Oct 8 06:11:18 UTC 2020
From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Added test description to all the available subtests.
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
tests/core_auth.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tests/core_auth.c b/tests/core_auth.c
index 9c240fdb..955876d3 100644
--- a/tests/core_auth.c
+++ b/tests/core_auth.c
@@ -195,6 +195,7 @@ igt_main
int master;
/* root (which we run igt as) should always be authenticated */
+ igt_describe("Checks whether drm client is always authenticated or not.");
igt_subtest("getclient-simple") {
int fd = drm_open_driver(DRIVER_ANY);
@@ -203,6 +204,9 @@ igt_main
close(fd);
}
+ igt_describe("Test tries to open two clients and checks if one of the drm client is"
+ " authenticated or not also, checks the authentication"
+ " for the same drm client by dropping the other one.");
igt_subtest("getclient-master-drop") {
int fd = drm_open_driver(DRIVER_ANY);
int fd2 = drm_open_driver(DRIVER_ANY);
@@ -220,11 +224,15 @@ igt_main
igt_subtest_group {
igt_fixture
master = drm_open_driver_master(DRIVER_ANY);
-
+ igt_describe("Test tries to retrieve magic for slave "
+ "and checks if magic on master is authorised only once.");
igt_subtest("basic-auth")
test_basic_auth(master);
/* this must be last, we adjust the rlimit */
+ igt_describe("Tests tries to retrieve magic for maximum possible number of slaves"
+ " and verifies if all the retrieved magic values are different."
+ "It also checks if the magic values can be authorised by master.");
igt_subtest("many-magics")
test_many_magics(master);
}
--
2.28.0
More information about the igt-dev
mailing list