Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4900139rwb; Mon, 31 Jul 2023 14:20:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/OGHC2Ep4Gn5Jfu0h/S8ZT6R3FiccX+11CK6fO3hK5JLg+Febx/w2qVu6oyp8oVS0Yv6Z X-Received: by 2002:a17:90a:e602:b0:268:220a:7080 with SMTP id j2-20020a17090ae60200b00268220a7080mr12779373pjy.2.1690838456821; Mon, 31 Jul 2023 14:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690838456; cv=none; d=google.com; s=arc-20160816; b=kYG2nlMeXiD1B9Okwuv0Tum0Mn8ryEjM4kQpdvlZGn6A06LN1Xe5UxAtKovf7R12LX O/9XEdw9WTbOQO1maWeLyCYoxnwmPtQrdEFTaacF9gTViF3yRSLp1+oYi0KwnFbBNkL5 zBzIyVGEwrZWVfVAS8xh9E7OousJopiASkkMlT2J67wO/dA2oOKo2SzEeiwr7T9uPddf WouNY4shmZj98k3acenS69JkzJa1agfOu0089+/fxVcbdfiOZ2K5mZtNq/QVfYdoTzt7 lGQnjng4rziHFnZYZ7imQkdcdNYiL6jHPsohBu035EPJ9zb3Cz2XJgX5HCSe7qRjnYq/ X4eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oGlGpw5Q9q73Ldn1HOpDYO0OQxBN9y2wWaW04aAn3Sk=; fh=bKiQ5MS5ceVMwa+twVadxWFFKHY/RV8K+btPKNJHnVg=; b=NQ/Ka/Gd1K2FlZjVESrUbxIWPTtvgXR8Z5gwq37T6yEht8WK99Xzs0n8huVqYQ6AqD 2Ev/+tQUdCWHWoBjJemWKskKks8DA5OFb87gs6pKpXBo0oje3yy/H3OlXJ8nBuxc/0JJ psG00Z/E9EVF43eq4ZP6+GLNaYQ+S+dTZ0CSHaiaq670nuE14HavUgdxvT6HUbvJHGQW T12S3x54Ql0JzaLCyxOYTMh0IQqWyKjdNyqwsDvJanamLG6qmkyOY5EJUo/lN/UPbpcC zLAwT0ZZKoWDZu6hVWx8ONbfdKTxngvIUNPiAVCAwl9PKYICVNp4y7tM7d0H2+iNMlMV wYzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Tzp6pkj2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a17090aec1400b0025c287f697asi7895296pjy.35.2023.07.31.14.20.45; Mon, 31 Jul 2023 14:20:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Tzp6pkj2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbjGaUXt (ORCPT + 99 others); Mon, 31 Jul 2023 16:23:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjGaUXr (ORCPT ); Mon, 31 Jul 2023 16:23:47 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC2271723 for ; Mon, 31 Jul 2023 13:23:46 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-7748ca56133so44398639f.0 for ; Mon, 31 Jul 2023 13:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1690835026; x=1691439826; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oGlGpw5Q9q73Ldn1HOpDYO0OQxBN9y2wWaW04aAn3Sk=; b=Tzp6pkj2CuiwN5T1cb6RwqAagJWZcZvIWhojOmZqsie7v+OMp3a42BkMHG4DsZYbKG JX6vDuwGJ0pF1vlwG8N+kns4UsUCyfy1wrYHeeJ6XSiLVu7AEcyYPIusG4cwY3hIs11d qk1xcXcs7N34m6JIPDF+z3ZnMXQObG47f0meQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690835026; x=1691439826; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oGlGpw5Q9q73Ldn1HOpDYO0OQxBN9y2wWaW04aAn3Sk=; b=GbEDsIiPaNT3aZuhPDGVjB0h0t7L5Z2FF3RFJnSm/0RVMrrA05WMmfWGrEIafHFF3j uLmZaY8TBF6O/do5rABC3QMaLHXdpGGC6Sx3gwP3pl6k/qYC1g8dMzcBrg4wxqjy/p3q J9XmN1lp2+kUo9mKoH/4NV0ZhnOZ1w5PBZ66qNl2qyYX4DU4mmnxiSgbbNuZY7Lvfo40 95/g9mO5cODi6Bcppwnf5l+0OKIYw7EN4e4nTgQhw4hZOP8NX4Vu55zfrRWicc0rGXu5 FAR3P3EVOfIK5Ox4O7qXfELsn5/LNiqAP6R2tfANpR1uFrqQ5u2sqJf72FQxTRQ7ZObV aQTQ== X-Gm-Message-State: ABy/qLZPNEqZrlHEQPjUxXLunyWa9vdH+WYc9Wcng9cefjBy81myaCtF e7z2lt9NqlFZ5SQDLeCu/hxb3A== X-Received: by 2002:a6b:c9d3:0:b0:788:2d78:813c with SMTP id z202-20020a6bc9d3000000b007882d78813cmr8761031iof.0.1690835026049; Mon, 31 Jul 2023 13:23:46 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id j12-20020a02cb0c000000b004290985a1efsm3239825jap.43.2023.07.31.13.23.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jul 2023 13:23:45 -0700 (PDT) Message-ID: <1471f593-1ff5-902a-a045-9241feda7bd0@linuxfoundation.org> Date: Mon, 31 Jul 2023 14:23:45 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [RESEND PATCH v2] selftests:connector: Fix input argument error paths to skip Content-Language: en-US To: shuah@kernel.org, Liam.Howlett@oracle.com, anjali.k.kulkarni@oracle.com, kuba@kernel.org Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20230729002403.4278-1-skhan@linuxfoundation.org> From: Shuah Khan In-Reply-To: <20230729002403.4278-1-skhan@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/28/23 18:24, Shuah Khan wrote: > Fix input argument parsing paths to skip from their error legs. > This fix helps to avoid false test failure reports without running > the test. > > Signed-off-by: Shuah Khan > --- > v2: Removed root check based on Anjali's review comments. > Add netdev to RESEND > > tools/testing/selftests/connector/proc_filter.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/testing/selftests/connector/proc_filter.c b/tools/testing/selftests/connector/proc_filter.c > index 4fe8c6763fd8..4a825b997666 100644 > --- a/tools/testing/selftests/connector/proc_filter.c > +++ b/tools/testing/selftests/connector/proc_filter.c > @@ -248,7 +248,7 @@ int main(int argc, char *argv[]) > > if (argc > 2) { > printf("Expected 0(assume no-filter) or 1 argument(-f)\n"); > - exit(1); > + exit(KSFT_SKIP); > } > > if (argc == 2) { > @@ -256,7 +256,7 @@ int main(int argc, char *argv[]) > filter = 1; > } else { > printf("Valid option : -f (for filter feature)\n"); > - exit(1); > + exit(KSFT_SKIP); > } > } > Hi Jakub, I sent v2 for patch 3 in the series. Do you want me to send the entire series again with this revised 3rd patch. thanks, -- Shuah