RE: [RFC PATCH v2 2/4] btrfs-progs: Add EXEC represent path of executable file

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

 




> -----Original Message-----
> From: David Sterba [mailto:dsterba@xxxxxxx]
> Sent: Saturday, February 03, 2018 2:08 AM
> To: Gu, Jinxiang/顾 金香 <gujx@xxxxxxxxxxxxxx>
> Cc: linux-btrfs@xxxxxxxxxxxxxxx; dsterba@xxxxxxx; quwenruo.btrfs@xxxxxxx
> Subject: Re: [RFC PATCH v2 2/4] btrfs-progs: Add EXEC represent path of executable file
> 
> On Fri, Feb 02, 2018 at 04:34:03PM +0800, Gu Jinxiang wrote:
> > Use EXEC instead of TOP to represent the path of excutable file.
> > EXEC is set to TOP by default, but when there is no excutable file in
> > TOP, use the path where btrfs is install as EXEC.
> 
> What if we just allow to change TOP (ie. do not overwrite it in the test driver scripts)? The logic will be the same as with EXEC, but we won't
> have to rewrite essentailly all paths in the testsuite.
> 
Since besides executable files, TOP is also used to find $TOP/tests/common, $TOP/Documentation, $TOP/tests/fuzz-tests/images, i.e.
so, change TOP will also effect on those resources.

So, I introduce EXEC to differentiate executable files and other resources.



?韬{.n?????%??檩??w?{.n???{饼?~镶?^n?■???h?璀?{?夸z罐?+€?zf"?????i?????_璁?:+v??撸?





[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux