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 'rump_server -l stuff' works, use ...



details:   https://anonhg.NetBSD.org/src/rev/4f6631548f0b
branches:  trunk
changeset: 760209:4f6631548f0b
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Dec 31 00:35:42 2010 +0000

description:
Now that 'rump_server -l stuff' works, use a less heavyweight rump_server
for this test.  Thanks, pooka!

diffstat:

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

diffs (29 lines):

diff -r da0a3cb7abb8 -r 4f6631548f0b tests/dev/sysmon/t_swsensor.sh
--- a/tests/dev/sysmon/t_swsensor.sh    Thu Dec 30 22:28:53 2010 +0000
+++ b/tests/dev/sysmon/t_swsensor.sh    Fri Dec 31 00:35:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_swsensor.sh,v 1.3 2010/12/30 04:01:59 pgoyette Exp $
+# $NetBSD: t_swsensor.sh,v 1.4 2010/12/31 00:35:42 pgoyette Exp $
 
 get_sensor_info() {
        rump.envstat -x | \
@@ -40,7 +40,7 @@
 # requested properties
 
 start_rump() {
-       rump_allserver ${RUMP_SERVER}
+       rump_server -l rumpvfs -l rumpdev -l rumpdev_sysmon ${RUMP_SERVER}
        if [ $( get_sensor_info | wc -l ) -ne 0 ] ; then
                rump.modunload swsensor
                rump.modload -f $1 swsensor
@@ -53,8 +53,8 @@
 common_head() {
        atf_set descr           "$1"
        atf_set timeout         60
-       atf_set require.progs   rump.powerd rump.envstat rump.modload   \
-                               rump.halt   rump.sysctl  rump_allserver \
+       atf_set require.progs   rump.powerd rump.envstat rump.modload   \
+                               rump.halt   rump.sysctl  rump_server    \
                                sed         grep
 }
 



Home | Main Index | Thread Index | Old Index