drm/tests
Chris Wilson ef20301a11 tests/gem_flink: Check for MASTER before proceeding
gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not
establish ourselves as authenticated before testing the ioctls. So
instead of aborting, skip the test unless we have root privileges (and
so DRM_MASTER and the DRM_AUTH restriction no longer applies).

A future test could assert that the flink fails without proper
authentication.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-12-18 14:03:18 +00:00
..
kmstest tests: Add nouveau to list of supported modules. 2010-02-28 00:25:22 +00:00
modeprint modeprint.c: use PRIu64 for printing uint64_t 2011-09-21 11:02:55 -04:00
modetest modetest: Call dirty fb on modeset 2011-10-19 13:35:07 +02:00
radeon test/radeon: add missing files for dist 2011-12-05 21:24:48 +00:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
vbltest vbltest: Check error codes returned from libdrm 2011-10-19 13:35:07 +02:00
Makefile.am tests/radeon: radeon specific test 2011-11-10 17:14:42 -05:00
auth.c Fix a race in the auth test where client prevents server from being master. 2007-10-17 13:20:46 -07:00
dristat.c Tidy up compile warnings by cleaning up types. 2010-02-04 19:45:10 -05:00
drmstat.c Support gcc's __FUNCTION__ for people using other compilers 2010-01-16 19:37:06 -08:00
drmtest.c drmtest: make check should fail so hard on unable to open device 2011-09-26 16:03:20 +01:00
drmtest.h Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
gem_basic.c Use libudev in test case to only run gem tests for intel devices. 2009-04-06 17:13:01 -04:00
gem_flink.c tests/gem_flink: Check for MASTER before proceeding 2011-12-18 14:03:18 +00:00
gem_mmap.c tests: Update for ENOENT returns from unknown handles 2010-12-10 12:10:13 +00:00
gem_readwrite.c tests: Update for ENOENT returns from unknown handles 2010-12-10 12:10:13 +00:00
getclient.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
getstats.c Add simple regression test for getstats (does it not crash the kernel?). 2007-08-15 11:06:49 -07:00
getversion.c XFAIL auth and lock test cases 2009-04-06 17:18:17 -04:00
lock.c Bug #12838: Fix lock test client vs. server master race and misplaced closes. 2007-10-17 13:26:10 -07:00
name_from_fd.c Add drmGetDeviceNameFromFd function 2009-11-23 20:51:34 -05:00
openclose.c Add some trivial regression tests, one of which fails. 2007-07-19 04:59:59 -07:00
setversion.c Skip tests that require root 2009-04-06 17:22:10 -04:00
updatedraw.c Skip tests that require root 2009-04-06 17:22:10 -04:00