Source-Changes-HG archive

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

[src/trunk]: src/tests/net/mpls The t_ldp_regen test frequently fails under q...



details:   https://anonhg.NetBSD.org/src/rev/277d84ce0d55
branches:  trunk
changeset: 331931:277d84ce0d55
user:      gson <gson%NetBSD.org@localhost>
date:      Mon Sep 01 06:38:35 2014 +0000

description:
The t_ldp_regen test frequently fails under qemu, but reliably passes
on real hardware.  The failures are hardly surprising given that qemu
timing is off by a is off by a factor of two as reported in
PR kern/43997.  Disabling the test on qemu for now; it should be
re-enabled once 43997 has been fixed to see if it still fails then.

diffstat:

 tests/net/mpls/t_ldp_regen.sh |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r dcdd6fd5e693 -r 277d84ce0d55 tests/net/mpls/t_ldp_regen.sh
--- a/tests/net/mpls/t_ldp_regen.sh     Mon Sep 01 03:14:50 2014 +0000
+++ b/tests/net/mpls/t_ldp_regen.sh     Mon Sep 01 06:38:35 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ldp_regen.sh,v 1.3 2014/01/03 13:14:50 pooka Exp $
+# $NetBSD: t_ldp_regen.sh,v 1.4 2014/09/01 06:38:35 gson Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -158,6 +158,10 @@
 
 ldp_regen_body() {
 
+        if sysctl machdep.cpu_brand | grep QEMU >/dev/null 2>&1
+       then
+           atf_skip "unreliable under qemu, skip until PR kern/43997 fixed"
+       fi
        create_servers
        wait_ldp_ok
        newaddr_and_ping



Home | Main Index | Thread Index | Old Index