Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/include Add printfs to see where TNF's qemu/sparc fails.
details: https://anonhg.NetBSD.org/src/rev/2f18457c77c5
branches: trunk
changeset: 770979:2f18457c77c5
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat Nov 05 08:49:24 2011 +0000
description:
Add printfs to see where TNF's qemu/sparc fails.
diffstat:
tests/include/t_paths.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r e988e367956f -r 2f18457c77c5 tests/include/t_paths.c
--- a/tests/include/t_paths.c Sat Nov 05 08:47:54 2011 +0000
+++ b/tests/include/t_paths.c Sat Nov 05 08:49:24 2011 +0000
@@ -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 @@
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -128,6 +129,8 @@
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);
Home |
Main Index |
Thread Index |
Old Index