summaryrefslogtreecommitdiffstats
path: root/contrib/pjdfstest/tests/chown/10.t
blob: e791008ee54eef6649dc081071b23d35da6e1cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
OpenPOWER on IntegriCloud