HFS+ implementation supports only inline extended attributes. The size of value for inline xattr is limited by 3802 bytes [1]. [1] https://elixir.bootlin.com/linux/v6.19-rc2/source/include/linux/hfs_common.h#L626 Signed-off-by: Viacheslav Dubeyko --- tests/generic/020 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/generic/020 b/tests/generic/020 index 8b77d5ca..540f539b 100755 --- a/tests/generic/020 +++ b/tests/generic/020 @@ -168,6 +168,11 @@ _attr_get_maxval_size() fi max_attrval_size=$((65536 - $size - $selinux_size - $max_attrval_namelen)) ;; + hfsplus) + # HFS+ implementation supports only inline extended attributes. + # The size of value for inline xattr is limited by 3802 bytes. + max_attrval_size=3802 + ;; *) # Assume max ~1 block of attrs BLOCK_SIZE=`_get_block_size $TEST_DIR` -- 2.43.0