Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1753055pxb; Mon, 23 Aug 2021 03:55:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+fLEHeWHeF7ihuG/TE0L08Er/BsRbFjX+zDaWj149XJRzviEf8tFhuFbmTtIt9cE+ZUjj X-Received: by 2002:a17:906:1e97:: with SMTP id e23mr34916131ejj.336.1629716118826; Mon, 23 Aug 2021 03:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629716118; cv=none; d=google.com; s=arc-20160816; b=R/PRRGV3nvQ/1QcjrpaXg6ZP3zvrrbHpu2wJrvbb/hqOGeEO8U/VJSEFzLUGHu4mgy QTxKTG37LMcQfKgChKopOTFJr8yh8+Q2R1Jev6TtMMIYVfoyoGl+pWVqfYcCGeV9RWnB rEP5+CtQpjpSwCH+IXerzjPn1eqY6QsbhbPGVoj1TsrAFAI411HoTf566JKn5AS1W3eP ejTWPs7ejzSA+HeDntX5I+UNRGAMQzUM3A3Aajike4SWPACX8CGgUjaenCJ70jVSsggt pDax9iRetpayRw7znpeHD+XJ6YXBRSMTxX7ShhdyIdhZ3FWrl/Ya7I5zg29yyG9kq2Wl VURA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ufqiem6SAD2gmS09HTUfWTb2O1UhArrikQy5twUdyAM=; b=D0kCGmZR2v2Dd4STroXmvLhxLf+3vO43Jb6WpwDMGbin2Ts8bbSfs5RwF4LKpdihBk bKr3F1eQ6fc/FmbBDxC7JAghDsRcQErdOzH+s4pCK9fH33hWTiYm3cjzZ5jiqWO3RnjT UzqIKyMIII8DrV6D3kUH5BoOrSyJtUa+awb+iWpGmZgN5lFO2CHCRs0yrvNHWpXaSvx8 zMjFL+8MJ8q/bpG/Pfk+SUF0ZakL6HoVuQnB6PyMUpY74KY7D7dj9VdyazWQfpmGwkDm rw2GWbJ9ovjCwpeTa7JZtGVwYzcXiIjfhq69p/zDuPrnPwJd5RgbERdp5TrchLqzUELC mWjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="E/i4PVIB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k24si2548062edq.541.2021.08.23.03.54.55; Mon, 23 Aug 2021 03:55:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="E/i4PVIB"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236198AbhHWKw0 (ORCPT + 99 others); Mon, 23 Aug 2021 06:52:26 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:52863 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234848AbhHWKwZ (ORCPT ); Mon, 23 Aug 2021 06:52:25 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 1EE89580A21; Mon, 23 Aug 2021 06:51:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 23 Aug 2021 06:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ufqiem 6SAD2gmS09HTUfWTb2O1UhArrikQy5twUdyAM=; b=E/i4PVIBqPIWwQVvxsJ7lB /ch89DlRbyc5BxRHqoRS67vkrTz8CMJaXLxv5uNMxxJI5un3sIYR63l7KSJR9+xl HqJFeSXGFdUPsfxOmR0Xamo2Gc/2UneCBO4osHK4B81WgneJSEM5muPNVN8NVLaI 2FpDUI8+I8l+NGp9I0Z2vmMXYGfKa1DTz2zdFENecYjd4TyiuaPcaaoW3ZjK37m0 37Ic0BYcAOq1NOh9YfwftPs5pEv7amYT5Lq/CxDG2HpbhOQdCfD4L3Hld4H2mP0i 80bq0Ml9763Z5H/w+AvZ4u/tm1n2mQhE/V6hk9oT9sQI544Y/wlyMtEYFmN0f4dw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddthedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepkfguohcuufgthhhimhhmvghluceoihguohhstghhsehiugho shgthhdrohhrgheqnecuggftrfgrthhtvghrnheptdffkeekfeduffevgeeujeffjefhte fgueeugfevtdeiheduueeukefhudehleetnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Aug 2021 06:51:40 -0400 (EDT) Date: Mon, 23 Aug 2021 13:51:38 +0300 From: Ido Schimmel To: Po-Hsu Lin Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, skhan@linuxfoundation.org, petrm@nvidia.co, oleksandr.mazur@plvision.eu, idosch@nvidia.com, jiri@nvidia.com, nikolay@nvidia.com, gnault@redhat.com, simon.horman@netronome.com, baowen.zheng@corigine.com, danieller@nvidia.com Subject: Re: [PATCH] selftests/net: Use kselftest skip code for skipped tests Message-ID: References: <20210823085854.40216-1-po-hsu.lin@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210823085854.40216-1-po-hsu.lin@canonical.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 04:58:54PM +0800, Po-Hsu Lin wrote: > There are several test cases in the net directory are still using > exit 0 or exit 1 when they need to be skipped. Use kselftest > framework skip code instead so it can help us to distinguish the > return status. > > Criterion to filter out what should be fixed in net directory: > grep -r "exit [01]" -B1 | grep -i skip > > This change might cause some false-positives if people are running > these test scripts directly and only checking their return codes, > which will change from 0 to 4. However I think the impact should be > small as most of our scripts here are already using this skip code. > And there will be no such issue if running them with the kselftest > framework. Looks OK to me. We are running some of these selftests as part of regression, so I applied your patch and will report results tomorrow. Thanks