1#!/bin/sh
| 1#!/bin/sh
|
2# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/10.t 166065 2007-01-17 01:42:12Z pjd $
| 2# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/10.t 211410 2010-08-17 06:08:09Z pjd $
|
3 4desc="chown returns EFAULT if the path argument points outside the process's allocated address space" 5 6dir=`dirname $0` 7. ${dir}/../misc.sh 8
| 3 4desc="chown returns EFAULT if the path argument points outside the process's allocated address space" 5 6dir=`dirname $0` 7. ${dir}/../misc.sh 8
|
9echo "1..2"
| 9echo "1..4"
|
10 11expect EFAULT chown NULL 65534 65534 12expect EFAULT chown DEADCODE 65534 65534
| 10 11expect EFAULT chown NULL 65534 65534 12expect EFAULT chown DEADCODE 65534 65534
|
| 13expect EFAULT lchown NULL 65534 65534 14expect EFAULT lchown DEADCODE 65534 65534
|
| |