2 # $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/03.t 211352 2010-08-15 21:24:17Z pjd $
4 desc="truncate returns ENAMETOOLONG if an entire path name exceeded {PATH_MAX} characters"
16 expect 0 create ${nx} 0644
17 expect 0 truncate ${nx} 123
18 expect regular,123 stat ${nx} type,size
20 expect ENAMETOOLONG truncate ${nxx} 123