From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A27D8C4742C for ; Mon, 16 Nov 2020 19:10:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C5792225B for ; Mon, 16 Nov 2020 19:10:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rajagiritech-edu-in.20150623.gappssmtp.com header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.b="yF8JpZDr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728910AbgKPTKq (ORCPT ); Mon, 16 Nov 2020 14:10:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726355AbgKPTKp (ORCPT ); Mon, 16 Nov 2020 14:10:45 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7240C0613D1 for ; Mon, 16 Nov 2020 11:10:45 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id 35so4704122ple.12 for ; Mon, 16 Nov 2020 11:10:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rajagiritech-edu-in.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=DGgJquhYYV+Tzh8ZT7w+8c+Lo4mKYMrSfopaj2Mm3nM=; b=yF8JpZDrKkv9JICmK1vHZzm4fElvqZ4erpbXNJESXLtUZJXyjhTHjDe7GReFmryXAc BCGRKKOFkWPun2+ghcwXfq44o1e1/9d6qwZ103iUN0GeLZnzHU5YTto8mAXs03QGBUl1 v1X16aHLn9RTF8OgGlYqaJ1DBWhurxAiAc8GqgdTRRQATMhCEH52o++qLHs/erZQV5FD XdDi5NofFzy33vjBxiFVCvu1Z5eWRyF0YX1ShlTaFODxuwFYIK3BA0QiyROMT3rLi0g0 CR4T7BYuAMX80Nhul01Ut0e8XrOAnGjmu+PoIi8mS5e13s78eKSd8MsqWzt5yeFQLtj7 wfxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=DGgJquhYYV+Tzh8ZT7w+8c+Lo4mKYMrSfopaj2Mm3nM=; b=DVKi7HLlqxXb9Kn/Xmm1Zwn3la5v3i+G43mbSHOklM/wN+1eQ7l9AUsgBuxI7YQjed kVVmI/bO9/u6X2ve8s2HqDtgKwMX8E48rGUVA1oD+hPH0HIiiI4rvD/qj3FrQSzhG8AX /w110gGqCkqcEhl19Eg64/aflIl92WAsXc6aKd8fyn9ShkF5n/jZND0VYih7NIxlMx5E ++NXBp0/YsMeLJoWf+pypxZIVL/Hp9ABR4jYPkKgrkIbInYB3g/PVBXMvB3on5eixeLJ srukUkulxHFRQOc+SR2+iJemKyFfBeiRroNUZlu38JxE0buJu6Fvmg2ZbTROlLGNk0Vl paYg== X-Gm-Message-State: AOAM533NwWWADFRUEQmK64sDlDSuCcJg90uo7gi8eIjfE5CLpuPszc9R tvKAJ1r2BDIqG5mYPbpHhv9Ok60Q2cLjYQ== X-Google-Smtp-Source: ABdhPJxFw/0Wd5j5UG+u3JOvfHbApC9lykSr3UwfR5lLoS0xR57D19MeWyytsAeWu2fLjcTZQbv3CQ== X-Received: by 2002:a17:902:c016:b029:d7:1a0:7cf0 with SMTP id v22-20020a170902c016b02900d701a07cf0mr13618172plx.64.1605553844604; Mon, 16 Nov 2020 11:10:44 -0800 (PST) Received: from debian ([122.174.144.192]) by smtp.gmail.com with ESMTPSA id p15sm143488pjv.44.2020.11.16.11.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 11:10:44 -0800 (PST) Message-ID: <2f3d616bea4fca2f47f8db0564bbcc17169f8cfb.camel@rajagiritech.edu.in> Subject: Re: checking for "config" file existence. From: Jeffrin Jose T To: Shuah Khan , Shuah Khan Cc: lkml , "open list:KERNEL SELFTEST FRAMEWORK" Date: Tue, 17 Nov 2020 00:40:40 +0530 In-Reply-To: References: <2ea637f38be0d03d0e0c545a6d12f36217cededc.camel@rajagiritech.edu.in> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-11-16 at 11:32 -0700, Shuah Khan wrote: > On 11/12/20 10:40 AM, Jeffrin Jose T wrote: > > hello, > > > > i wrote a small program to check for the existence of "config" > > files > > for testing projects under kselftest framework. > > > > chmod 755 test_config.py > > This file should be located in "tools/testing/selftests" > > This can be run as "./test_config.py" > > > Why do we need a dedicated script when you can do it with: > > cd tools/testing/selftests; find . -name config > > I see that your script also prints if config doesn't exist. > It is not a failure not have config as config is necessary > only when a test has config option dependencies. > > What does this script attempting to solve? according to what you said this script may not be necessary thanks for the explanation :) -- software engineer rajagiri school of engineering and technology - autonomous