]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/pjdfstest/tests/symlink/12.t
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.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