Re: checking for "config" file existence.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux