Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / tools / regression / fstest / tests / symlink / 08.t
blobc4843e5aaed161db7d9d11c2211220002820e73a
1 #!/bin/sh
2 # $FreeBSD$
4 desc="symlink returns EEXIST if the name2 argument already exists"
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
9 echo "1..9"
11 n0=`namegen`
13 expect 0 create ${n0} 0644
14 expect EEXIST symlink test ${n0}
15 expect 0 unlink ${n0}
17 expect 0 mkdir ${n0} 0755
18 expect EEXIST symlink test ${n0}
19 expect 0 rmdir ${n0}
21 expect 0 symlink test ${n0}
22 expect EEXIST symlink test ${n0}
23 expect 0 unlink ${n0}