Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/rump/rumpkern/h_client Print some more info in an atte...
details: https://anonhg.NetBSD.org/src/rev/830df89816aa
branches: trunk
changeset: 760707:830df89816aa
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Jan 11 11:26:28 2011 +0000
description:
Print some more info in an attempt to try to understand why the
test fails in automated test runs but not my desktop.
diffstat:
tests/rump/rumpkern/h_client/h_stresscli.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r bdce0db05787 -r 830df89816aa tests/rump/rumpkern/h_client/h_stresscli.c
--- a/tests/rump/rumpkern/h_client/h_stresscli.c Tue Jan 11 10:55:27 2011 +0000
+++ b/tests/rump/rumpkern/h_client/h_stresscli.c Tue Jan 11 11:26:28 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: h_stresscli.c,v 1.4 2011/01/10 19:51:37 pooka Exp $ */
+/* $NetBSD: h_stresscli.c,v 1.5 2011/01/11 11:26:28 pooka Exp $ */
#include <sys/types.h>
#include <sys/atomic.h>
@@ -122,8 +122,10 @@
errx(1, "wanted pid %d, got %d\n", clis[i], apid);
clis[i] = 0;
ncli--;
- if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
+ if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
+ fprintf(stderr, "child died with 0x%x\n", status);
exit(1);
+ }
}
for (i = 0; i < NCLI; i++)
Home |
Main Index |
Thread Index |
Old Index