turns printfs back on
[freebsd-src/fkvm-freebsd.git] / tools / regression / fstest / tests / symlink / 02.t
blob630ce8ae61431d2fe9d98b6dcee8f3eb649dba0f
1 #!/bin/sh
2 # $FreeBSD$
4 desc="symlink returns ENAMETOOLONG if a component of the name2 pathname exceeded 255 characters"
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
9 echo "1..7"
11 n0=`namegen`
13 expect 0 symlink ${name255} ${n0}
14 expect 0 unlink ${n0}
15 expect 0 symlink ${n0} ${name255}
16 expect 0 unlink ${name255}
18 expect ENAMETOOLONG symlink ${n0} ${name256}
19 expect 0 symlink ${name256} ${n0}
20 expect 0 unlink ${n0}