diff options
Diffstat (limited to 'tools/regression/fstest/tests/chown/10.t')
-rw-r--r-- | tools/regression/fstest/tests/chown/10.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/regression/fstest/tests/chown/10.t b/tools/regression/fstest/tests/chown/10.t new file mode 100644 index 0000000..1ef6f85 --- /dev/null +++ b/tools/regression/fstest/tests/chown/10.t @@ -0,0 +1,12 @@ +#!/bin/sh +# $FreeBSD$ + +desc="chown 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 chown NULL 65534 65534 +expect EFAULT chown DEADCODE 65534 65534 |