Re: [PATCH] generic/688: Skip test if fs doesn't support security

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



Hi Dave.

On 8/3/22 06:05, Dave Chinner wrote:
> On Tue, Aug 02, 2022 at 07:52:40AM +0000, Liu Yiding wrote:
>> This test require security attr. Skip test if fs doesn't support
>> security attr. E.g. virtiofs
>>
>> Signed-off-by: Liu Yiding <liuyd.fnst@xxxxxxxxxxx>
>> ---
>>   tests/generic/688 | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/tests/generic/688 b/tests/generic/688
>> index 426286b6..d11b4c21 100755
>> --- a/tests/generic/688
>> +++ b/tests/generic/688
>> @@ -7,6 +7,7 @@
>>   # Functional test for dropping capability bits as part of an fallocate.
>>   #
>>   . ./common/preamble
>> +. ./common/attr
>>   _begin_fstest auto prealloc quick
> 
> Includes don't belong in the test preamble/setup section. They
> belong a few lines below in the section titled:

Thank you for your point. :)

> 
> # Include common functions.
> 
> Cheers,
> 
> Dave.
> 




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

  Powered by Linux