turns printfs back on
[freebsd-src/fkvm-freebsd.git] / tools / regression / fstest / tests / unlink / 02.t
blob0d4c57925055d2bb76e69e454eee2c874221b5d4
1 #!/bin/sh
2 # $FreeBSD$
4 desc="unlink returns ENAMETOOLONG if a component of a pathname exceeded 255 characters"
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
9 echo "1..4"
11 expect 0 create ${name255} 0644
12 expect 0 unlink ${name255}
13 expect ENOENT unlink ${name255}
14 expect ENAMETOOLONG unlink ${name256}