2 # $FreeBSD: head/tools/regression/pjdfstest/tests/unlink/01.t 211352 2010-08-15 21:24:17Z pjd $
4 desc="unlink returns ENOTDIR if a component of the path prefix is not a directory"
14 expect 0 mkdir ${n0} 0755
15 expect 0 create ${n0}/${n1} 0644
16 expect ENOTDIR unlink ${n0}/${n1}/test
17 expect 0 unlink ${n0}/${n1}