mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs/059: add a filter for btrfs compression property
btrfs/059.out should not be hardcoded to zlib, if compression method is lzo, this case will fail wrongly, so here add a filter. Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
d00a869c2e
commit
26ae452604
@@ -65,7 +65,11 @@ _filter_transaction_commit() {
|
||||
_filter_btrfs_subvol_delete()
|
||||
{
|
||||
_filter_scratch | _filter_transaction_commit
|
||||
}
|
||||
|
||||
_filter_btrfs_compress_property()
|
||||
{
|
||||
sed -e "s/compression=\(lzo\|zlib\)/COMPRESSION=XXX/g"
|
||||
}
|
||||
|
||||
# filter name of the property from the output, optionally verify against $1
|
||||
|
||||
Reference in New Issue
Block a user