4 desc
="link returns ENAMETOOLONG if an entire length of either path name exceeded 1023 characters"
13 expect
0 mkdir
${name255} 0755
14 expect
0 mkdir
${name255}/${name255} 0755
15 expect
0 mkdir
${name255}/${name255}/${name255} 0755
16 expect
0 mkdir
${path1021} 0755
17 expect
0 create
${path1023} 0644
18 expect
0 link
${path1023} ${n0}
19 expect
0 unlink
${path1023}
20 expect
0 link
${n0} ${path1023}
21 expect
0 unlink
${path1023}
22 expect ENAMETOOLONG link
${n0} ${path1024}
24 expect ENAMETOOLONG link
${path1024} ${n0}
25 expect
0 rmdir ${path1021}
26 expect
0 rmdir ${name255}/${name255}/${name255}
27 expect
0 rmdir ${name255}/${name255}
28 expect
0 rmdir ${name255}