From e5eb456898c532b51edcb1715b57e7aa3799533d Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 13 Feb 2019 15:39:16 +0200 Subject: 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 Acked-by: Daniel Vetter --- tests/igt_command_line.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/igt_command_line.sh') 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" -- cgit v1.2.3