Remove wrong check.

XXX: Why does this fail on tmpfs but not ffs?
This commit is contained in:
jruoho 2011-07-03 20:22:51 +00:00
parent 824a88bbba
commit 33e373ef8e
1 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_mknod.c,v 1.3 2011/07/03 19:02:00 jruoho Exp $ */
/* $NetBSD: t_mknod.c,v 1.4 2011/07/03 20:22:51 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_mknod.c,v 1.3 2011/07/03 19:02:00 jruoho Exp $");
__RCSID("$NetBSD: t_mknod.c,v 1.4 2011/07/03 20:22:51 jruoho Exp $");
#include <sys/stat.h>
@ -55,9 +55,6 @@ ATF_TC_BODY(mknod_err, tc)
(void)memset(buf, 'x', sizeof(buf));
errno = 0;
ATF_REQUIRE_ERRNO(EINVAL, mknod(path, -1, 0) == -1);
/*
* See the old PR kern/45111.
*/