1#!/bin/sh 2# $FreeBSD: head/tools/regression/pjdfstest/tests/chmod/10.t 211352 2010-08-15 21:24:17Z pjd $ 3 4desc="chmod returns EFAULT if the path argument points outside the process's allocated address space" 5 6dir=`dirname $0` 7. ${dir}/../misc.sh 8 9if supported lchmod; then 10 echo "1..4" 11else 12 echo "1..2" 13fi 14 15expect EFAULT chmod NULL 0644 16expect EFAULT chmod DEADCODE 0644 17if supported lchmod; then 18 expect EFAULT lchmod NULL 0644 19 expect EFAULT lchmod DEADCODE 0644 20fi 21