]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/regression/pjdfstest/tests/symlink/12.t
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / regression / pjdfstest / 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