Module Name:    src
Committed By:   pooka
Date:           Tue Jan 11 11:26:28 UTC 2011

Modified Files:
        src/tests/rump/rumpkern/h_client: h_stresscli.c

Log Message:
Print some more info in an attempt to try to understand why the
test fails in automated test runs but not my desktop.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/rump/rumpkern/h_client/h_stresscli.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/rump/rumpkern/h_client/h_stresscli.c
diff -u src/tests/rump/rumpkern/h_client/h_stresscli.c:1.4 src/tests/rump/rumpkern/h_client/h_stresscli.c:1.5
--- src/tests/rump/rumpkern/h_client/h_stresscli.c:1.4	Mon Jan 10 19:51:37 2011
+++ src/tests/rump/rumpkern/h_client/h_stresscli.c	Tue Jan 11 11:26:28 2011
@@ -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++)

Reply via email to