mbox series

[0/2] fstests: btrfs: subvolume snapshot fix golden output

Message ID cover.1712306454.git.anand.jain@oracle.com (mailing list archive)
Headers show
Series fstests: btrfs: subvolume snapshot fix golden output | expand

Message

Anand Jain April 5, 2024, 8:45 a.m. UTC
Update test cases with the new golden output for the command btrfs
subvolume snapshot, further introduce a helper _filter_snapshot() to
make it compatible with older btrfs-progs.

Anand Jain (2):
  common/filter.btrfs: add a new _filter_snapshot
  btrfs: create snapshot fix golden output

 common/filter.btrfs | 9 +++++++++
 tests/btrfs/001     | 3 ++-
 tests/btrfs/001.out | 2 +-
 tests/btrfs/152     | 6 +++---
 tests/btrfs/152.out | 4 ++--
 tests/btrfs/168     | 6 +++---
 tests/btrfs/168.out | 4 ++--
 tests/btrfs/202     | 4 ++--
 tests/btrfs/202.out | 2 +-
 tests/btrfs/300.out | 2 +-
 tests/btrfs/302     | 4 ++--
 tests/btrfs/302.out | 2 +-
 12 files changed, 29 insertions(+), 19 deletions(-)

Comments

Qu Wenruo April 5, 2024, 10:05 p.m. UTC | #1
在 2024/4/5 19:15, Anand Jain 写道:
> Update test cases with the new golden output for the command btrfs
> subvolume snapshot, further introduce a helper _filter_snapshot() to
> make it compatible with older btrfs-progs.

BTW, you're missing quite a lot of other test cases.

At least there should be around 20 test cases affected.

>
> Anand Jain (2):
>    common/filter.btrfs: add a new _filter_snapshot
>    btrfs: create snapshot fix golden output
>
>   common/filter.btrfs | 9 +++++++++
>   tests/btrfs/001     | 3 ++-
>   tests/btrfs/001.out | 2 +-
>   tests/btrfs/152     | 6 +++---
>   tests/btrfs/152.out | 4 ++--
>   tests/btrfs/168     | 6 +++---
>   tests/btrfs/168.out | 4 ++--
>   tests/btrfs/202     | 4 ++--
>   tests/btrfs/202.out | 2 +-
>   tests/btrfs/300.out | 2 +-
>   tests/btrfs/302     | 4 ++--
>   tests/btrfs/302.out | 2 +-
>   12 files changed, 29 insertions(+), 19 deletions(-)
>
Anand Jain April 8, 2024, 4:30 a.m. UTC | #2
On 4/6/24 06:05, Qu Wenruo wrote:
> 
> 
> 在 2024/4/5 19:15, Anand Jain 写道:
>> Update test cases with the new golden output for the command btrfs
>> subvolume snapshot, further introduce a helper _filter_snapshot() to
>> make it compatible with older btrfs-progs.
> 
> BTW, you're missing quite a lot of other test cases.
> 
> At least there should be around 20 test cases affected.

  Fixed in v2.

Thanks, -Anand


> 
>>
>> Anand Jain (2):
>>    common/filter.btrfs: add a new _filter_snapshot
>>    btrfs: create snapshot fix golden output
>>
>>   common/filter.btrfs | 9 +++++++++
>>   tests/btrfs/001     | 3 ++-
>>   tests/btrfs/001.out | 2 +-
>>   tests/btrfs/152     | 6 +++---
>>   tests/btrfs/152.out | 4 ++--
>>   tests/btrfs/168     | 6 +++---
>>   tests/btrfs/168.out | 4 ++--
>>   tests/btrfs/202     | 4 ++--
>>   tests/btrfs/202.out | 2 +-
>>   tests/btrfs/300.out | 2 +-
>>   tests/btrfs/302     | 4 ++--
>>   tests/btrfs/302.out | 2 +-
>>   12 files changed, 29 insertions(+), 19 deletions(-)
>>