Call drmGetMagic() and drmAuthMagic() and see if it behaves.
Check drm client is always authenticated.
Use 2 clients, check second is authenticated even when first dropped.
Test magic numbers for master and slave.
Test authentication and magic numbers uniqness for rlimit slaves.
Check that Drop/SetMaster behaves correctly wrt root/user access
Ensure that root can Set/DropMaster
Ensure first normal user can Set/DropMaster
Check the Set/DropMaster behaviour on shared fd
Examine behavior of a driver on device hot unplug
Check if the driver can be cleanly unbound from a device believed to be closed, then rebound
Check if a device believed to be closed can be cleanly unplugged, then restored
Check if the driver can be cleanly unbound from an open device, then released and rebound
Check if an open device can be cleanly unplugged, then released and restored
Check if the driver can be cleanly rebound to a device with a still open hot unbound driver instance
Check if a hot unplugged and still open device can be cleanly restored
Check if a hot unbound driver instance still open after hot rebind can be cleanly released
Check if an instance of a still open while hot replugged device can be cleanly released