diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-23 14:21:27 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-23 21:03:07 +0200 |
commit | 91f536dc42c667b908072ee064fd150826349ec6 (patch) | |
tree | 0f7a404735dcf6aa28b35bf991e50df4d6b6f18c /tests/tools_test | |
parent | 8cb89f7c4cb764a819410e05440cc9dcb9f8df1f (diff) |
tests: Move root check to lib/drm_lib.sh
All tests want that anyway.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/tools_test')
-rwxr-xr-x | tests/tools_test | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tools_test b/tests/tools_test index 4c5577a7..8bda2638 100755 --- a/tests/tools_test +++ b/tests/tools_test @@ -2,8 +2,6 @@ # 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 |