xref: /freebsd/contrib/pjdfstest/tests/chown/10.t (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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