在 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(-)