1166065Spjd#!/bin/sh 2166065Spjd# $FreeBSD$ 3166065Spjd 4166065Spjddesc="truncate returns EFAULT if the path argument points outside the process's allocated address space" 5166065Spjd 6166065Spjddir=`dirname $0` 7166065Spjd. ${dir}/../misc.sh 8166065Spjd 9166065Spjdecho "1..2" 10166065Spjd 11166065Spjdexpect EFAULT truncate NULL 123 12166065Spjdexpect EFAULT truncate DEADCODE 123 13