4 desc="chflags returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
18 expect 0 create ${nx} 0644
19 expect 0 chflags ${nx} SF_IMMUTABLE
20 expect SF_IMMUTABLE stat ${nx} flags
21 expect 0 chflags ${nx} none
23 expect ENAMETOOLONG chflags ${nxx} SF_IMMUTABLE
25 expect 0 create ${nx} 0644
26 expect 0 lchflags ${nx} SF_IMMUTABLE
27 expect SF_IMMUTABLE stat ${nx} flags
28 expect 0 lchflags ${nx} none
30 expect ENAMETOOLONG lchflags ${nxx} SF_IMMUTABLE