xref: /freebsd/contrib/pjdfstest/tests/chown/10.t (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1#!/bin/sh
2# vim: filetype=sh noexpandtab ts=8 sw=8
3# $FreeBSD: head/tools/regression/pjdfstest/tests/chown/10.t 211410 2010-08-17 06:08:09Z pjd $
4
5desc="chown returns EFAULT if the path argument points outside the process's allocated address space"
6
7dir=`dirname $0`
8. ${dir}/../misc.sh
9
10echo "1..4"
11
12expect EFAULT chown NULL 65534 65534
13expect EFAULT chown DEADCODE 65534 65534
14expect EFAULT lchown NULL 65534 65534
15expect EFAULT lchown DEADCODE 65534 65534
16