summaryrefslogtreecommitdiff
path: root/regress/sys/ffs/tests/mkdir/12.t
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2007-03-30 19:02:53 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2007-03-30 19:02:53 +0000
commita43ee3c02d87b24b5d42a21bea8c53251ff63ba1 (patch)
treebd8ac259df6b2244d1a16cb5cb1b652eeaff32d6 /regress/sys/ffs/tests/mkdir/12.t
parent01d780afe96118f9a23cd8132c1965c12c6ddb17 (diff)
Add regression test suite for FFS, from FreeBSD, okay art@ deraadt@
Diffstat (limited to 'regress/sys/ffs/tests/mkdir/12.t')
-rw-r--r--regress/sys/ffs/tests/mkdir/12.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/regress/sys/ffs/tests/mkdir/12.t b/regress/sys/ffs/tests/mkdir/12.t
new file mode 100644
index 00000000000..a526a69d927
--- /dev/null
+++ b/regress/sys/ffs/tests/mkdir/12.t
@@ -0,0 +1,7 @@
+#!/bin/sh
+# $FreeBSD: src/tools/regression/fstest/tests/mkdir/12.t,v 1.1 2007/01/17 01:42:09 pjd Exp $
+
+desc="mkdir returns EFAULT if the path argument points outside the process's allocated address space"
+
+expect EFAULT mkdir NULL 0755
+expect EFAULT mkdir DEADCODE 0755