summaryrefslogtreecommitdiff
path: root/tests/core_auth.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-07-06 11:39:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-07-06 11:40:08 +0100
commite54168931c55e53f9abbc221d56600525a8d8983 (patch)
tree23e1a71aea7f77d42a2ec5b7bfdff0eff400951f /tests/core_auth.c
parent91b26a7559ee58a101fc27822bfa0e6528d8b6a5 (diff)
igt/core_auth: Print out the number of magics retrieved
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/core_auth.c')
-rw-r--r--tests/core_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core_auth.c b/tests/core_auth.c
index 79bd5875..e08c8aed 100644
--- a/tests/core_auth.c
+++ b/tests/core_auth.c
@@ -61,6 +61,7 @@ static void test_many_magics(int master)
/* open slave and make sure it's NOT a master */
slave = open(path, O_RDWR | O_CLOEXEC);
if (slave < 0) {
+ igt_info("Reopening device failed after %d opens\n", i);
igt_assert(errno == EMFILE);
break;
}