Module Name: src
Committed By: jruoho
Date: Wed Mar 30 18:31:15 UTC 2011
Modified Files:
src/tests/include: t_paths.c
Log Message:
Another proof that even the naive test cases are worth it;
expect a failure with fstat(2) and bpf(4), PR lib/44807.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/include/t_paths.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/include/t_paths.c
diff -u src/tests/include/t_paths.c:1.1 src/tests/include/t_paths.c:1.2
--- src/tests/include/t_paths.c:1.1 Wed Mar 30 09:43:22 2011
+++ src/tests/include/t_paths.c Wed Mar 30 18:31:15 2011
@@ -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);