summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-18 13:58:57 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-18 14:03:18 +0000
commitef20301a11afae50bfe127002913dbd0b81ddccc (patch)
treeaaaf6c1f0878b56a3cb33068ace4464287b9d34b /include/drm
parent0ab2251b70d49a294d24f3ef54982e95226c104a (diff)
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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions