From: Qu Wenruo Date: Mon, 9 May 2016 00:46:14 +0000 (+1000) Subject: btrfs/091: Disable compress to avoid output dismatch X-Git-Tag: v2022.05.01~2536 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4e06bfa0d5d862a7ca4cbc0441195d7cf1151ae;p=xfstests-dev.git btrfs/091: Disable compress to avoid output dismatch If run btrfs/091 with "-o compress=lzo" mount option, test case will fail, as compress makes extent much smaller on disk, making output different from golden output. As this test case is only testing qgroup, not compression, disable compression manually in test case. Signed-off-by: Qu Wenruo Signed-off-by: Dave Chinner --- diff --git a/tests/btrfs/091 b/tests/btrfs/091 index 16b5c16c..e3c43c76 100755 --- a/tests/btrfs/091 +++ b/tests/btrfs/091 @@ -60,7 +60,8 @@ run_check _scratch_mkfs "--nodesize $NODESIZE" # inode cache will also take space in fs tree, disable them to get consistent # result. # discard error output since we will check return value manually. -_scratch_mount "-o noinode_cache" 2> /dev/null +# also disable all compression, or output will mismatch with golden output +_scratch_mount "-o noinode_cache,compress=no,compress-force=no" 2> /dev/null # Check for old kernel which doesn't support 'noinode_cache' mount option if [ $? -ne 0 ]; then