fstests: btrfs: add 'zstd' to compress property filter
diff mbox

Message ID be482613-1e30-d59b-98dc-b882a2df1b0d@jp.fujitsu.com
State New
Headers show

Commit Message

Misono Tomohiro Nov. 8, 2017, 4:27 a.m. UTC
This fixes the false failure of btrfs/059 when running with the 
mount option '-o compress=zstd'.

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
---
 common/filter.btrfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/common/filter.btrfs b/common/filter.btrfs
index 0cf7f0d3..aaff2278 100644
--- a/common/filter.btrfs
+++ b/common/filter.btrfs
@@ -69,7 +69,7 @@  _filter_btrfs_subvol_delete()
 
 _filter_btrfs_compress_property()
 {
-	sed -e "s/compression=\(lzo\|zlib\)/COMPRESSION=XXX/g"
+	sed -e "s/compression=\(lzo\|zlib\|zstd\)/COMPRESSION=XXX/g"
 }
 
 # filter error messages from btrfs prop, optionally verify against $1