All tests want that anyway.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
die "ERROR: other drm clients running"
fi
+whoami | grep -q root || ( echo ERROR: not running as root; exit 1 )
+
i915_sfs_path=
if [ -d /sys/class/drm ] ; then
sysfs_path=/sys/class/drm
#!/bin/bash
-whoami | grep root || ( echo ERROR: not running as root; exit 1 )
-
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
. $SOURCE_DIR/drm_lib.sh
# Test some of the most critical tools we have accidentally broken before.
# TODO: Possibly make tests parse output
-whoami | grep -q root || ( echo ERROR: not running as root; exit 1 )
-
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
. $SOURCE_DIR/drm_lib.sh