[Bug 43924] Test fails during compilation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 18 06:04:18 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43924

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> 2011-12-18 06:04:18 PST ---
commit ef20301a11afae50bfe127002913dbd0b81ddccc
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Dec 18 13:58:57 2011 +0000

    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 at chris-wilson.co.uk>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list