4 desc="chmod returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
16 expect 0 create ${nx} 0644
17 expect 0 chmod ${nx} 0642
18 expect 0642 stat ${nx} mode
20 expect ENAMETOOLONG chmod ${nxx} 0642
22 expect 0 create ${nx} 0644
23 expect 0 lchmod ${nx} 0642
24 expect 0642 stat ${nx} mode
26 expect ENAMETOOLONG lchmod ${nxx} 0642