Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3529732pxb; Mon, 16 Nov 2020 18:01:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLZdk5OCeLszjvnDKTf1W9ag8W/heafJ6zXPn4xKiLTvKZdeXhgWporKGy+HMWr5KPMwj/ X-Received: by 2002:a17:907:2805:: with SMTP id eb5mr17021198ejc.27.1605578460509; Mon, 16 Nov 2020 18:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605578460; cv=none; d=google.com; s=arc-20160816; b=a81fjcIjQLplciwGME0E1toKWqnKKU+Je4x4GtWid5zbJb+ZvfqjNz0uN/W6JFHZZG 0rJdYvSRDe6J7xvqGnxrJqnBIu1Wlc964FNWheuhq31J9uMxFDQy2EEelKAfIWu9PU7M igSUSPYnQB+5+/KoGbKT4ywVsysigJD3LdNjoX1Iebb4gEimFJzmm9N978KMRxUkn8m7 RbfEwpje1AB01efJCwtvJughnXdHUZUx9L4RUR380TM0+rb61lFfM+LPpDKPe/EOgxkN dqln807XTogaReBU8fM2Lh+ranD8JGJZvBUvWwmGA/Y+qbLdCiNvMvWIR9VcyV5M8qJs 3/sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=DGgJquhYYV+Tzh8ZT7w+8c+Lo4mKYMrSfopaj2Mm3nM=; b=gMMc0pw/qj9Qdt/AFWZR9Mix8f/NIEKWmmvWsXSWpZLvcnlCOSPrwHHuAfLrDhD5b6 os22YLVKQ6II1o1fttAwXxgl/Zxbfd13P383gL0R8oJcv3UrsJjgHLmVfvba66oqsBVc 8B7guw9/rubcI2XI8HGsuYkHBnXkApN07c1EvlBUSqkYnmaxWSMzG9P9RJegDBw2KAFo M/mBdG90eoVtL2YwKAfo+tfq7ilhCjwO1Dsksv76XpNopsUu2XfOy9QQp4PBpbpr0WVk i2sSIlmAwlYyA/er362P76y7tRcZiCFJfAQYrfK2jtetAU5F+Brq2mB4ECzCeDraO6Pm LPjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=yF8JpZDr; 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 v17si12784234ejr.127.2020.11.16.18.00.38; Mon, 16 Nov 2020 18:01:00 -0800 (PST) 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=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=yF8JpZDr; 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 S1728887AbgKPTKq (ORCPT + 99 others); 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-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