1271294Sngie#!/bin/sh 2271294Sngie# $FreeBSD: head/tools/regression/pjdfstest/tests/truncate/14.t 211352 2010-08-15 21:24:17Z pjd $ 3271294Sngie 4271294Sngiedesc="truncate returns EFAULT if the path argument points outside the process's allocated address space" 5271294Sngie 6271294Sngiedir=`dirname $0` 7271294Sngie. ${dir}/../misc.sh 8271294Sngie 9271294Sngieecho "1..2" 10271294Sngie 11271294Sngieexpect EFAULT truncate NULL 123 12271294Sngieexpect EFAULT truncate DEADCODE 123 13