]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - tools/regression/fstest/tests/symlink/12.t
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / tools / regression / fstest / tests / symlink / 12.t
1 #!/bin/sh
2 # $FreeBSD$
3
4 desc="symlink returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
5
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
8
9 echo "1..6"
10
11 n0=`namegen`
12
13 expect EFAULT symlink NULL ${n0}
14 expect EFAULT symlink DEADCODE ${n0}
15 expect EFAULT symlink test NULL
16 expect EFAULT symlink test DEADCODE
17 expect EFAULT symlink NULL DEADCODE
18 expect EFAULT symlink DEADCODE NULL