2 # vim: filetype=sh noexpandtab ts=8 sw=8
3 # $FreeBSD: head/tools/regression/pjdfstest/tests/unlink/02.t 211352 2010-08-15 21:24:17Z pjd $
5 desc="unlink returns ENAMETOOLONG if a component of a pathname exceeded {NAME_MAX} characters"
15 expect 0 create ${nx} 0644
17 expect ENOENT unlink ${nx}
18 expect ENAMETOOLONG unlink ${nxx}