From 33e373ef8ee2d74e60b1e95e83ec949660aede4f Mon Sep 17 00:00:00 2001 From: jruoho Date: Sun, 3 Jul 2011 20:22:51 +0000 Subject: [PATCH] Remove wrong check. XXX: Why does this fail on tmpfs but not ffs? --- tests/syscall/t_mknod.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/syscall/t_mknod.c b/tests/syscall/t_mknod.c index ab101284cd32..06d3aa417323 100644 --- a/tests/syscall/t_mknod.c +++ b/tests/syscall/t_mknod.c @@ -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 -__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 @@ -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. */