Source-Changes-HG archive

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

[src/trunk]: src/tests/dev/sysmon Now that we update the callout timer as soo...



details:   https://anonhg.NetBSD.org/src/rev/c7da6c99e780
branches:  trunk
changeset: 760177:c7da6c99e780
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Dec 30 04:01:59 2010 +0000

description:
Now that we update the callout timer as soon as it is updated, we no longer
need to have an extended wait for the first powerd event to occur.  Revert
that portion of previous commit.

diffstat:

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

diffs (18 lines):

diff -r 124f851648b6 -r c7da6c99e780 tests/dev/sysmon/t_swsensor.sh
--- a/tests/dev/sysmon/t_swsensor.sh    Thu Dec 30 03:59:59 2010 +0000
+++ b/tests/dev/sysmon/t_swsensor.sh    Thu Dec 30 04:01:59 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_swsensor.sh,v 1.2 2010/12/29 19:21:39 pgoyette Exp $
+# $NetBSD: t_swsensor.sh,v 1.3 2010/12/30 04:01:59 pgoyette Exp $
 
 get_sensor_info() {
        rump.envstat -x | \
@@ -141,7 +141,7 @@
        # Step 5 - if sensor provides hw limit, make sure it works
        if [ $1 -ne 0 -a ${skip_events} -eq 0 ] ; then
                rump.sysctl -w hw.swsensor.cur_value=$(( $3 - $5 ))
-               sleep 15
+               sleep 5
                cnt=$(get_powerd_event_count)
                if [ ${cnt} -lt ${expected_event} ] ; then
                        atf_fail "5: No event triggered"



Home | Main Index | Thread Index | Old Index