nic_router_uplinks.run: adapt to new wifi driver

Issue #2973
This commit is contained in:
Martin Stein 2018-09-12 17:07:40 +02:00 committed by Christian Helmuth
parent 040eae4806
commit d0aa699299

View File

@ -102,9 +102,7 @@ append config {
<rom name="wifi_config"> <rom name="wifi_config">
<inline description="CONNECT"> <inline description="CONNECT">
<wifi_config connected_scan_interval="30" scan_interval="5" rfkill="no" verbose="no"> <wifi_config connected_scan_interval="30" scan_interval="5" rfkill="no" verbose="no">
<accesspoints> <accesspoint enabled="true" ssid="} [wifi_ssid] {" protection="WPA2" passphrase="} [wifi_psk] {"/>
<accesspoint enabled="true" ssid="} [wifi_ssid] {" protection="WPA2" passphrase="} [wifi_psk] {"/>
</accesspoints>
</wifi_config> </wifi_config>
</inline> </inline>
<sleep milliseconds="600000"/> <!-- 10 minutes --> <sleep milliseconds="600000"/> <!-- 10 minutes -->
@ -117,12 +115,12 @@ append config {
<provides><service name="ROM"/> </provides> <provides><service name="ROM"/> </provides>
<config verbose="yes"> <config verbose="yes">
<rom name="router.config"> <rom name="router.config">
<inline>
<config/> <!-- give the drivers time to come up -->
<inline> <config/> </inline>
<sleep milliseconds="15000"/>
</inline> <!-- start the actual test -->
<sleep milliseconds="5000"/>
<inline> <inline>
<config dhcp_discover_timeout_sec="1"> <config dhcp_discover_timeout_sec="1">
@ -365,4 +363,4 @@ append done_string ".*router.config: change"
append done_string ".*router.config: sleep 600000 milliseconds" append done_string ".*router.config: sleep 600000 milliseconds"
append done_string ".*From 10.0.1.79 icmp_seq=.* Destination Unreachable" append done_string ".*From 10.0.1.79 icmp_seq=.* Destination Unreachable"
run_genode_until $done_string 60 run_genode_until $done_string 70