diff options
author | Mark Fasheh <mfasheh@suse.de> | 2018-05-30 00:34:30 +0200 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2018-06-03 22:16:15 +0800 |
commit | 2f194e4e820e6acfcfdadf9f488a162b22db9d86 (patch) | |
tree | 7a789c71b3998b4c5778ac5135f5a81e7b01367b | |
parent | 41b082680737cd2aeda248db70666c66afebac41 (diff) | |
download | xfstests-dev-2f194e4e820e6acfcfdadf9f488a162b22db9d86.tar.gz |
generic/009: don't run for btrfs if PAGE_SIZE > 4096
Btrfs has the same issue as XFS here in that the extent layout on a
> 4096 page size system will not match what is reflected in the test
output.
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-x | tests/generic/009 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/generic/009 b/tests/generic/009 index 797def5c3f..d9e349cd15 100755 --- a/tests/generic/009 +++ b/tests/generic/009 @@ -56,12 +56,12 @@ if [ "$FSTYP" = "ext4" ]; then _ext4_disable_extent_zeroout fi -# When PAGE_SIZE > 4096 xfs extent layout is different so it would not match -# the output. -if [ "$FSTYP" = "xfs" ]; then +# When PAGE_SIZE > 4096 some filesystems extent layout is different so +# it would not match the output. +if [ "$FSTYP" = "xfs" -o "$FSTYP" = "btrfs" ]; then PAGE_SIZE=`getconf PAGE_SIZE` if [ $PAGE_SIZE -gt 4096 ]; then - _notrun "Not supported on xfs with page size > 4096" + _notrun "Not supported on $FSTYP with page size > 4096" fi fi |