summaryrefslogtreecommitdiff
path: root/regress/sys/ffs/tests/chown/10.t
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/ffs/tests/chown/10.t')
-rw-r--r--regress/sys/ffs/tests/chown/10.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/sys/ffs/tests/chown/10.t b/regress/sys/ffs/tests/chown/10.t
new file mode 100644
index 00000000000..bc429f222ab
--- /dev/null
+++ b/regress/sys/ffs/tests/chown/10.t
@@ -0,0 +1,7 @@
+#!/bin/sh
+# $FreeBSD: src/tools/regression/fstest/tests/chown/10.t,v 1.1 2007/01/17 01:42:08 pjd Exp $
+
+desc="chown returns EFAULT if the path argument points outside the process's allocated address space"
+
+expect EFAULT chown NULL 65534 65534
+expect EFAULT chown DEADCODE 65534 65534