turns printfs back on
[freebsd-src/fkvm-freebsd.git] / tools / regression / fstest / tests / truncate / 09.t
blob1d95c7fe918cf5173377b27ecc5e155e3adae11b
1 #!/bin/sh
2 # $FreeBSD$
4 desc="truncate returns EISDIR if the named file is a directory"
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
9 echo "1..3"
11 n0=`namegen`
13 expect 0 mkdir ${n0} 0755
14 expect EISDIR truncate ${n0} 123
15 expect 0 rmdir ${n0}