mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
edeef98d4f
With a recent change to xfs_io[1], the fsxattr.xflags output line has added another flag column, so xfs/207 starts failing. Rather than testing for an exact set of flags, test whether the specific flag we are interested in is set or unset. [1] xfs_io/lsattr: expose FS_XFLAG_HASATTR flag Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Bill O'Donnell <billodo@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
19 lines
615 B
Plaintext
19 lines
615 B
Plaintext
QA output created by 207
|
|
Format and mount
|
|
Create the original files
|
|
Set extsz and cowextsz on zero byte file
|
|
Set extsz and cowextsz on 1Mbyte file
|
|
xfs_io: FS_IOC_FSSETXATTR SCRATCH_MNT/test-207/file2: Invalid argument
|
|
Check extsz and cowextsz settings on zero byte file
|
|
[1048576] SCRATCH_MNT/test-207/file1
|
|
[1048576] SCRATCH_MNT/test-207/file1
|
|
Check extsz and cowextsz settings on 1Mbyte file
|
|
[0] SCRATCH_MNT/test-207/file2
|
|
[1048576] SCRATCH_MNT/test-207/file2
|
|
Set cowextsize and check flag
|
|
C flag set
|
|
[1048576] SCRATCH_MNT/test-207/file3
|
|
Unset cowextsize and check flag
|
|
C flag unset
|
|
[0] SCRATCH_MNT/test-207/file3
|