Lines Matching refs:n2

14 n2=`namegen`
31 create_file ${type} ${n0}/${n2} 65534 65534
32 inode=`${fstest} lstat ${n0}/${n2} inode`
36 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
37 expect ENOENT lstat ${n0}/${n2} inode
39 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2}
40 expect ${inode} lstat ${n0}/${n2} inode
44 expect 0 unlink ${n0}/${n2}
49 create_file ${type} ${n0}/${n2} 65534 65534
50 inode=`${fstest} lstat ${n0}/${n2} inode`
54 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
55 expect ENOENT lstat ${n0}/${n2} inode
57 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2}
58 expect ${inode} lstat ${n0}/${n2} inode
62 expect 0 unlink ${n0}/${n2}
68 create_file ${type} ${n0}/${n2} 65534 65534
69 inode=`${fstest} lstat ${n0}/${n2} inode`
73 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
74 expect ENOENT lstat ${n0}/${n2} inode
76 expect 0 -u 65534 -g 65534 rename ${n1}/${n3} ${n0}/${n2}
77 expect ${inode} lstat ${n0}/${n2} inode
81 expect 0 unlink ${n0}/${n2}
87 create_file ${type} ${n0}/${n2} 65534 65534
88 inode=`${fstest} lstat ${n0}/${n2} inode`
92 expect "EACCES|EPERM" -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
93 expect ${inode} lstat ${n0}/${n2} inode
98 expect 0 unlink ${n0}/${n2}
104 expect 0 -u 65534 -g 65534 mkdir ${n0}/${n2} 0755
105 inode=`${fstest} lstat ${n0}/${n2} inode`
108 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
109 expect ENOENT lstat ${n0}/${n2} type
116 expect 0 -u 65534 -g 65534 mkdir ${n0}/${n2} 0755
117 inode=`${fstest} lstat ${n0}/${n2} inode`
120 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
121 expect ENOENT lstat ${n0}/${n2} type
129 expect 0 -u 65534 -g 65534 mkdir ${n0}/${n2} 0755
130 inode=`${fstest} lstat ${n0}/${n2} inode`
133 expect 0 -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
134 expect ENOENT lstat ${n0}/${n2} type
142 expect 0 -u 65534 -g 65534 mkdir ${n0}/${n2} 0755
143 inode=`${fstest} lstat ${n0}/${n2} inode`
146 expect "EACCES|EPERM" -u 65534 -g 65534 rename ${n0}/${n2} ${n1}/${n3}
147 expect ${inode} lstat ${n0}/${n2} inode
149 expect 0 rmdir ${n0}/${n2}