Source-Changes-HG archive

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

[src/trunk]: src/tests/dev/sysmon These tests are flaky so mark them as expec...



details:   https://anonhg.NetBSD.org/src/rev/03b94c21ddb4
branches:  trunk
changeset: 785521:03b94c21ddb4
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sun Mar 17 06:29:55 2013 +0000

description:
These tests are flaky so mark them as expected failures... when they fail.
See PR kern/47661.

diffstat:

 tests/dev/sysmon/t_swsensor.sh |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 3a21d78ce65b -r 03b94c21ddb4 tests/dev/sysmon/t_swsensor.sh
--- a/tests/dev/sysmon/t_swsensor.sh    Sun Mar 17 05:56:46 2013 +0000
+++ b/tests/dev/sysmon/t_swsensor.sh    Sun Mar 17 06:29:55 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_swsensor.sh,v 1.5 2012/07/19 13:36:18 pgoyette Exp $
+# $NetBSD: t_swsensor.sh,v 1.6 2013/03/17 06:29:55 jmmv Exp $
 
 get_sensor_info() {
        rump.envstat -x | \
@@ -290,12 +290,14 @@
        sleep 5
        new_rnd_bits=$( get_rnd_bits_count )
        if [ $new_rnd_bits -le $rnd_bits ] ; then
+               atf_tc_expect_fail "PR kern/47661"
                atf_fail "14a: entropy bits did not increase after polling"
        fi
        rnd_bits=$new_rnd_bits
        sleep 5
        new_rnd_bits=$( get_rnd_bits_count )
        if [ $new_rnd_bits -gt $rnd_bits ] ; then
+               atf_tc_expect_fail "PR kern/47661"
                atf_fail "14b: entropy bits increased after poll with no value change"
        fi
 
@@ -309,12 +311,14 @@
        get_sensor_key cur-value
        new_rnd_bits=$( get_rnd_bits_count )
        if [ $new_rnd_bits -le $rnd_bits ] ; then
+               atf_tc_expect_fail "PR kern/47661"
                atf_fail "15a: entropy bits did not increase after interrogation"
        fi
        rnd_bits=$new_rnd_bits
        get_sensor_key cur-value
        new_rnd_bits=$( get_rnd_bits_count )
        if [ $new_rnd_bits -gt $rnd_bits ] ; then
+               atf_tc_expect_fail "PR kern/47661"
                atf_fail "15b: entropy bits increased after interrogation with no value change"
        fi
 }



Home | Main Index | Thread Index | Old Index