freebsd-dev/tools/regression/pjdfstest/tests/chown/10.t
2010-08-17 06:08:09 +00:00

15 lines
335 B
Bash

#!/bin/sh
# $FreeBSD$
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