From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 288E410E268 for ; Mon, 30 Oct 2023 09:52:11 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.2.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 0C2CB580D98 for ; Mon, 30 Oct 2023 02:52:10 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96.1) (envelope-from ) id 1qxOwK-000S87-0C for igt-dev@lists.freedesktop.org; Mon, 30 Oct 2023 10:52:08 +0100 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Mon, 30 Oct 2023 10:49:59 +0100 Message-ID: <20231030095206.108025-5-mauro.chehab@linux.intel.com> In-Reply-To: <20231030095206.108025-1-mauro.chehab@linux.intel.com> References: <20231030095206.108025-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 4/7] igt_runner: don't require root for dry_run List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab When --dry-run option is used, there's no need to require root, as no tests will actually be executed. Reviewed-by: Kamil Konieczny Signed-off-by: Mauro Carvalho Chehab --- runner/settings.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runner/settings.c b/runner/settings.c index 23aa82963344..788957948b4f 100644 --- a/runner/settings.c +++ b/runner/settings.c @@ -687,6 +687,7 @@ bool parse_options(int argc, char **argv, break; case OPT_DRY_RUN: settings->dry_run = true; + settings->allow_non_root = true; break; case OPT_ALLOW_NON_ROOT: settings->allow_non_root = true; -- 2.41.0