4 desc="link returns ENAMETOOLONG if an entire length of either path name exceeded {PATH_MAX} characters"
17 expect 0 create ${nx} 0644
18 expect 0 link ${nx} ${n0}
19 expect 2 stat ${n0} nlink
20 expect 2 stat ${nx} nlink
22 expect 0 link ${n0} ${nx}
23 expect 2 stat ${n0} nlink
24 expect 2 stat ${nx} nlink
26 expect ENAMETOOLONG link ${n0} ${nxx}
27 expect 1 stat ${n0} nlink
29 expect ENAMETOOLONG link ${nxx} ${n0}