Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/include Another proof that even the naive test cases a...
details: https://anonhg.NetBSD.org/src/rev/f5716c25cd0a
branches: trunk
changeset: 763682:f5716c25cd0a
user: jruoho <jruoho%NetBSD.org@localhost>
date: Wed Mar 30 18:31:15 2011 +0000
description:
Another proof that even the naive test cases are worth it;
expect a failure with fstat(2) and bpf(4), PR lib/44807.
diffstat:
tests/include/t_paths.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r d996d817cc9f -r f5716c25cd0a tests/include/t_paths.c
--- a/tests/include/t_paths.c Wed Mar 30 18:25:31 2011 +0000
+++ b/tests/include/t_paths.c Wed Mar 30 18:31:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_paths.c,v 1.1 2011/03/30 09:43:22 jruoho Exp $ */
+/* $NetBSD: t_paths.c,v 1.2 2011/03/30 18:31:15 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_paths.c,v 1.1 2011/03/30 09:43:22 jruoho Exp $");
+__RCSID("$NetBSD: t_paths.c,v 1.2 2011/03/30 18:31:15 jruoho Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -160,6 +160,9 @@
if ((paths[i].flags & PATH_DEV) != 0) {
+ if (strcmp(paths[i].path, _PATH_BPF) == 0)
+ atf_tc_expect_fail("PR kern/44807");
+
ATF_REQUIRE(S_ISBLK(m) != 0 || S_ISCHR(m) != 0);
ATF_REQUIRE((paths[i].flags & PATH_DIR) == 0);
Home |
Main Index |
Thread Index |
Old Index