mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-22 03:55:26 +00:00
l4linux: Adapt netperf run script to new run tool
With the new run tool, we net to use the 'serial_id' when using the 'send' command.
This commit is contained in:
parent
d68c7d1d10
commit
e866bf3fa3
@ -234,7 +234,7 @@ regexp $ip_match $ip_string ip_local
|
||||
run_genode_until "netif_info: register.*\n" 60
|
||||
set serial_id [output_spawn_id]
|
||||
sleep 8
|
||||
send "ip addr show dev eth0\n"
|
||||
send -i $serial_id "ip addr show dev eth0\n"
|
||||
run_genode_until "inet.*\n" 3 $serial_id
|
||||
regexp $ip_match $output ip_remote
|
||||
|
||||
@ -247,7 +247,7 @@ puts "Using local IP: $ip_local remote IP: $ip_remote"
|
||||
puts "\nTransmission test:"
|
||||
|
||||
exec netserver-$version -p 8888 &
|
||||
send "netperf -p 8888 -H $ip_local -c -C -t TCP_STREAM && uname\n"
|
||||
send -i $serial_id "netperf -p 8888 -H $ip_local -c -C -t TCP_STREAM && uname\n"
|
||||
run_genode_until "Linux.*" 30 $serial_id
|
||||
|
||||
puts "\n\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user