generic: add test for boundary in xfs_attr_shortform_verify
authorPavel Reichl <preichl@redhat.com>
Tue, 15 Sep 2020 13:26:51 +0000 (15:26 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Sep 2020 15:53:06 +0000 (23:53 +0800)
commitf7ad4b73ea66fdba4b83527364131f90f4eea6a7
tree39d42eeba069e5c97a18bfc92c829c35f5a2bdd4
parentfc5870da485aec0f9196a0f2bed32f73f6b2c664
generic: add test for boundary in xfs_attr_shortform_verify

Add a regression test to check that the boundary test
for the fixed-offset parts of xfs_attr_sf_entry
in xfs_attr_shortform_verify is not off by one.

This can be shown by:

touch file
setfattr -n user.a file

Signed-off-by: Pavel Reichl <preichl@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/611 [new file with mode: 0755]
tests/generic/611.out [new file with mode: 0644]
tests/generic/group