1#!/bin/sh
2# $FreeBSD: stable/10/tools/regression/pjdfstest/tests/chflags/13.t 185173 2008-11-22 13:27:15Z pjd $
3
4desc="chflags returns EFAULT if the path argument points outside the process's allocated address space"
5
6dir=`dirname $0`
7. ${dir}/../misc.sh
8
9require chflags
10
11echo "1..2"
12
13expect EFAULT chflags NULL UF_NODUMP
14expect EFAULT chflags DEADCODE UF_NODUMP
15