]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/pjdfstest/tests/truncate/14.t
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / pjdfstest / tests / truncate / 14.t
1 #!/bin/sh
2 # $FreeBSD$
3
4 desc="truncate returns EFAULT if the path argument points outside the process's allocated address space"
5
6 dir=`dirname $0`
7 . ${dir}/../misc.sh
8
9 echo "1..2"
10
11 expect EFAULT truncate NULL 123
12 expect EFAULT truncate DEADCODE 123