summaryrefslogtreecommitdiff
path: root/tests/igt_command_line.sh
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-02-13 15:39:16 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-02-13 15:39:16 +0200
commite5eb456898c532b51edcb1715b57e7aa3799533d (patch)
tree9743de771d2ffb05a7a409cbde9ea84fe3252127 /tests/igt_command_line.sh
parent90f78ac704718a4dc089ca99041f032191c6f8b1 (diff)
Revert "igt_command_line.sh: Abort if run as root"
This reverts commit 845c9fb45b734aef95e2fb2317d0c02567e06a68. To unblock GitLab's CI while a proper solution is in the works. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/igt_command_line.sh')
-rwxr-xr-xtests/igt_command_line.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index 408d965f..e05ec34c 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -100,10 +100,6 @@ check_test ()
./$test --run-subtest invalid-subtest > /dev/null 2>&1 && fail $test
}
-if [ "$EUID" -eq 0 ]; then
- fail "Don't run $0 as root. It executes igt_fixture blocks."
-fi
-
TESTLISTFILE="$tests_dir/test-list.txt"
if [ ! -r "$TESTLISTFILE" ]; then
tests_dir="tests"