xref: /freebsd/contrib/pjdfstest/tests/open/21.t (revision 40a8ac8f62b535d30349faf28cf47106b7041b83)
1*40a8ac8fSEnji Cooper#!/bin/sh
2*40a8ac8fSEnji Cooper# $FreeBSD: head/tools/regression/pjdfstest/tests/open/21.t 211352 2010-08-15 21:24:17Z pjd $
3*40a8ac8fSEnji Cooper
4*40a8ac8fSEnji Cooperdesc="open returns EFAULT if the path argument points outside the process's allocated address space"
5*40a8ac8fSEnji Cooper
6*40a8ac8fSEnji Cooperdir=`dirname $0`
7*40a8ac8fSEnji Cooper. ${dir}/../misc.sh
8*40a8ac8fSEnji Cooper
9*40a8ac8fSEnji Cooperecho "1..2"
10*40a8ac8fSEnji Cooper
11*40a8ac8fSEnji Cooperexpect EFAULT open NULL O_RDONLY
12*40a8ac8fSEnji Cooperexpect EFAULT open DEADCODE O_RDONLY
13