From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id C75E210E59E for ; Fri, 20 Oct 2023 10:21:51 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.0.134]) (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 64AAB580E33 for ; Fri, 20 Oct 2023 03:21:50 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96.1) (envelope-from ) id 1qtmdY-000Vc0-0J for igt-dev@lists.freedesktop.org; Fri, 20 Oct 2023 12:21:48 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Fri, 20 Oct 2023 12:20:32 +0200 Message-ID: <20231020102146.121478-2-mauro.chehab@linux.intel.com> In-Reply-To: <20231020102146.121478-1-mauro.chehab@linux.intel.com> References: <20231020102146.121478-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 1/2] 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. 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