13 lines
332 B
Bash
Executable File
13 lines
332 B
Bash
Executable File
#!/bin/sh
|
|
# $FreeBSD: src/tools/regression/fstest/tests/truncate/14.t,v 1.1 2007/01/17 01:42:12 pjd Exp $
|
|
|
|
desc="truncate 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 truncate NULL 123
|
|
expect EFAULT truncate DEADCODE 123
|