Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen Do not special-case qemu when expecting t...



details:   https://anonhg.NetBSD.org/src/rev/ce509cdae263
branches:  trunk
changeset: 785519:ce509cdae263
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sun Mar 17 05:47:48 2013 +0000

description:
Do not special-case qemu when expecting the failure due to PR kern/43997.

I am sporadically observing this in my real machine as well.  It's harder
to trigger, but it happens.

diffstat:

 tests/lib/libc/gen/t_sleep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 3eb13173f7b2 -r ce509cdae263 tests/lib/libc/gen/t_sleep.c
--- a/tests/lib/libc/gen/t_sleep.c      Sun Mar 17 05:13:13 2013 +0000
+++ b/tests/lib/libc/gen/t_sleep.c      Sun Mar 17 05:47:48 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sleep.c,v 1.5 2012/11/09 20:13:24 pgoyette Exp $ */
+/* $NetBSD: t_sleep.c,v 1.6 2013/03/17 05:47:48 jmmv Exp $ */
 
 /*-
  * Copyright (c) 2006 Frank Kardel
@@ -301,8 +301,7 @@
                delta3 *= round;
 
                if (delta3 > FUZZ || delta3 < -FUZZ) {
-                       if (!sim_remain &&
-                           system("cpuctl identify 0 | grep -q QEMU") == 0) 
+                       if (!sim_remain)
                                atf_tc_expect_fail("Long reschedule latency "
                                    "due to PR kern/43997");
 



Home | Main Index | Thread Index | Old Index