xref: /freebsd/contrib/pjdfstest/tests/chown/10.t (revision 2f1217877e155a8a7de97e74eb7e82096a5ef316)
1#!/bin/sh
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
9echo "1..4"
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
15