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