It is released from time to time and used outside FreeBSD, so it is good to have a name one can google.
13 lines
241 B
Bash
13 lines
241 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
desc="mkdir 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 mkdir NULL 0755
|
|
expect EFAULT mkdir DEADCODE 0755
|