15 lines
335 B
Bash
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
|