Module Name: src
Committed By: jruoho
Date: Sat Nov 5 08:49:24 UTC 2011
Modified Files:
src/tests/include: t_paths.c
Log Message:
Add printfs to see where TNF's qemu/sparc fails.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/tests/include/t_paths.c:1.10
--- src/tests/include/t_paths.c:1.9 Tue Sep 27 11:24:21 2011
+++ src/tests/include/t_paths.c Sat Nov 5 08:49:24 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_paths.c,v 1.9 2011/09/27 11:24:21 jruoho Exp $ */
+/* $NetBSD: t_paths.c,v 1.10 2011/11/05 08:49:24 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.9 2011/09/27 11:24:21 jruoho Exp $");
+__RCSID("$NetBSD: t_paths.c,v 1.10 2011/11/05 08:49:24 jruoho Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -37,6 +37,7 @@ __RCSID("$NetBSD: t_paths.c,v 1.9 2011/0
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -128,6 +129,8 @@ ATF_TC_BODY(paths, tc)
for (i = 0; i < __arraycount(paths); i++) {
+ (void)fprintf(stderr, "testing '%s'\n", paths[i].path);
+
errno = 0;
fd = open(paths[i].path, O_RDONLY);