xtreemfs/tests/test_scripts/pjd-fstest-20090130-RC_XtreemFS/tests/truncate/14.t
2020-09-22 02:25:22 +02:00

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