diff options
Diffstat (limited to 'contrib/pjdfstest/tests/chflags/13.t')
-rw-r--r-- | contrib/pjdfstest/tests/chflags/13.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/pjdfstest/tests/chflags/13.t b/contrib/pjdfstest/tests/chflags/13.t new file mode 100644 index 0000000..981122c --- /dev/null +++ b/contrib/pjdfstest/tests/chflags/13.t @@ -0,0 +1,14 @@ +#!/bin/sh +# $FreeBSD: head/tools/regression/pjdfstest/tests/chflags/13.t 211352 2010-08-15 21:24:17Z pjd $ + +desc="chflags returns EFAULT if the path argument points outside the process's allocated address space" + +dir=`dirname $0` +. ${dir}/../misc.sh + +require chflags + +echo "1..2" + +expect EFAULT chflags NULL UF_NODUMP +expect EFAULT chflags DEADCODE UF_NODUMP |