aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/fstest/tests/chmod/10.t
blob: 466cebc3d9f3d0f0e994c27e50989f7e164078b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# $FreeBSD: src/tools/regression/fstest/tests/chmod/10.t,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $

desc="chmod returns EFAULT if the path argument points outside the process's allocated address space"

dir=`dirname $0`
. ${dir}/../misc.sh

echo "1..2"

expect EFAULT chmod NULL 0644
expect EFAULT chmod DEADCODE 0644