Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/syscall Adjust for the tracker PR kern/30115 for this ...
details: https://anonhg.NetBSD.org/src/rev/81908181ff55
branches: trunk
changeset: 763956:81908181ff55
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Apr 08 10:36:09 2011 +0000
description:
Adjust for the tracker PR kern/30115 for this over 15 year old bug.
diffstat:
tests/syscall/t_getrusage.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 6b31587f11f5 -r 81908181ff55 tests/syscall/t_getrusage.c
--- a/tests/syscall/t_getrusage.c Fri Apr 08 10:35:37 2011 +0000
+++ b/tests/syscall/t_getrusage.c Fri Apr 08 10:36:09 2011 +0000
@@ -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,11 +158,13 @@
/*
* Test that getrusage(2) does not return
* zero user time for the calling process.
+ *
+ * See also (duplicate) PR port-amd64/41734.
*/
+ atf_tc_expect_fail("PR kern/30115");
+
for (i = 0; i < maxiter; i++) {
- atf_tc_expect_fail("PR port-amd64/41734");
-
work();
(void)memset(&ru, 0, sizeof(struct rusage));
Home |
Main Index |
Thread Index |
Old Index