mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 22:02:57 +00:00
tests: Move root check to lib/drm_lib.sh
All tests want that anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
whoami | grep root || ( echo ERROR: not running as root; exit 1 )
|
||||
|
||||
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||
. $SOURCE_DIR/drm_lib.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user