Lines Matching full:n1
15 n1=`namegen`
24 create_file ${type} ${n1}
25 expect EPERM -u 65534 -g 65534 chflags ${n1} SF_SNAPSHOT
26 expect none stat ${n1} flags
27 expect EPERM chflags ${n1} SF_SNAPSHOT
28 expect none stat ${n1} flags
29 expect 0 chown ${n1} 65534 65534
30 expect EPERM -u 65534 -g 65534 chflags ${n1} SF_SNAPSHOT
31 expect none stat ${n1} flags
32 expect EPERM chflags ${n1} SF_SNAPSHOT
33 expect none stat ${n1} flags
35 expect 0 rmdir ${n1}
37 expect 0 unlink ${n1}
41 create_file ${type} ${n1}
42 expect EPERM -u 65534 -g 65534 lchflags ${n1} SF_SNAPSHOT
43 expect none lstat ${n1} flags
44 expect EPERM lchflags ${n1} SF_SNAPSHOT
45 expect none lstat ${n1} flags
46 expect 0 lchown ${n1} 65534 65534
47 expect EPERM -u 65534 -g 65534 lchflags ${n1} SF_SNAPSHOT
48 expect none lstat ${n1} flags
49 expect EPERM lchflags ${n1} SF_SNAPSHOT
50 expect none lstat ${n1} flags
52 expect 0 rmdir ${n1}
54 expect 0 unlink ${n1}