]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/pjdfstest/tests/chflags/13.t
MFC r272057,r272083,r272084,r272087,r274016:
[FreeBSD/stable/10.git] / contrib / pjdfstest / tests / chflags / 13.t
1 #!/bin/sh
2 # $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/13.t 211352 2010-08-15 21:24:17Z pjd $
3
4 desc="chflags 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 require chflags
10
11 echo "1..2"
12
13 expect EFAULT chflags NULL UF_NODUMP
14 expect EFAULT chflags DEADCODE UF_NODUMP