diff options
Diffstat (limited to 'tests/chown/10.t')
-rw-r--r-- | tests/chown/10.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/chown/10.t b/tests/chown/10.t new file mode 100644 index 0000000000000..e791008ee54ee --- /dev/null +++ b/tests/chown/10.t @@ -0,0 +1,14 @@ +#!/bin/sh +# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/10.t 211410 2010-08-17 06:08:09Z pjd $ + +desc="chown returns EFAULT if the path argument points outside the process's allocated address space" + +dir=`dirname $0` +. ${dir}/../misc.sh + +echo "1..4" + +expect EFAULT chown NULL 65534 65534 +expect EFAULT chown DEADCODE 65534 65534 +expect EFAULT lchown NULL 65534 65534 +expect EFAULT lchown DEADCODE 65534 65534 |