aboutsummaryrefslogtreecommitdiff
path: root/tests/mknod/10.t
blob: 5bf18d37adc45bd293d6275d6398127a55a65fb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# $FreeBSD: head/tools/regression/pjdfstest/tests/mknod/10.t 211352 2010-08-15 21:24:17Z pjd $

desc="mknod 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 mknod NULL f 0644 0 0
expect EFAULT mknod DEADCODE f 0644 0 0