4 desc
="rename returns EINVAL when an attempt is made to rename '.' or '..'"
15 expect
0 mkdir
${n0} 0755
16 expect
0 mkdir
${n0}/${n1} 0755
18 expect EINVAL rename
${n0}/${n1}/. ${n2}
19 expect EINVAL rename
${n0}/${n1}/.. ${n2}
21 expect
0 rmdir ${n0}/${n1}