ntel-gpu-tools/tests/test_rte_check
Daniel Vetter d798ab9c2a tests: add testcase to check igt runtime enviroment
Now that we've abandonded the autohell testrunner, need to port this
over. Easiest is to just add another testcase ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-12-20 11:02:19 +01:00

9 lines
159 B
Bash
Executable File

#!/bin/bash
whoami | grep root || ( echo ERROR: not running as root; exit 1 )
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
. $SOURCE_DIR/drm_lib.sh
exit 0