2 # $FreeBSD: head/tools/regression/pjdfstest/tests/chown/06.t 211410 2010-08-17 06:08:09Z pjd $
4 desc="chown returns ELOOP if too many symbolic links were encountered in translating the pathname"
14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
16 expect ELOOP chown ${n0} 65534 65534
17 expect ELOOP chown ${n1} 65534 65534
18 expect ELOOP chown ${n0}/test 65534 65534
19 expect ELOOP chown ${n1}/test 65534 65534
20 expect ELOOP lchown ${n0}/test 65534 65534
21 expect ELOOP lchown ${n1}/test 65534 65534