Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/syscall Remove wrong check.



details:   https://anonhg.NetBSD.org/src/rev/34e0731bd547
branches:  trunk
changeset: 766899:34e0731bd547
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jul 03 20:22:51 2011 +0000

description:
Remove wrong check.

XXX: Why does this fail on tmpfs but not ffs?

diffstat:

 tests/syscall/t_mknod.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r dcbce5a6efb7 -r 34e0731bd547 tests/syscall/t_mknod.c
--- a/tests/syscall/t_mknod.c   Sun Jul 03 20:14:12 2011 +0000
+++ b/tests/syscall/t_mknod.c   Sun Jul 03 20:22:51 2011 +0000
@@ -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 @@
 
        (void)memset(buf, 'x', sizeof(buf));
 
-       errno = 0;
-       ATF_REQUIRE_ERRNO(EINVAL, mknod(path, -1, 0) == -1);
-
        /*
         * See the old PR kern/45111.
         */



Home | Main Index | Thread Index | Old Index