Module Name:    src
Committed By:   jruoho
Date:           Fri Apr  8 10:36:09 UTC 2011

Modified Files:
        src/tests/syscall: t_getrusage.c

Log Message:
Adjust for the tracker PR kern/30115 for this over 15 year old bug.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/syscall/t_getrusage.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/syscall/t_getrusage.c
diff -u src/tests/syscall/t_getrusage.c:1.5 src/tests/syscall/t_getrusage.c:1.6
--- src/tests/syscall/t_getrusage.c:1.5	Thu Apr  7 17:33:11 2011
+++ src/tests/syscall/t_getrusage.c	Fri Apr  8 10:36:09 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_getrusage.c,v 1.5 2011/04/07 17:33:11 jruoho Exp $ */
+/* $NetBSD: t_getrusage.c,v 1.6 2011/04/08 10:36:09 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_getrusage.c,v 1.5 2011/04/07 17:33:11 jruoho Exp $");
+__RCSID("$NetBSD: t_getrusage.c,v 1.6 2011/04/08 10:36:09 jruoho Exp $");
 
 #include <sys/resource.h>
 #include <sys/time.h>
@@ -158,10 +158,12 @@
 	/*
 	 * Test that getrusage(2) does not return
 	 * zero user time for the calling process.
+	 *
+	 * See also (duplicate) PR port-amd64/41734.
 	 */
-	for (i = 0; i < maxiter; i++) {
+	atf_tc_expect_fail("PR kern/30115");
 
-		atf_tc_expect_fail("PR port-amd64/41734");
+	for (i = 0; i < maxiter; i++) {
 
 		work();
 

Reply via email to