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