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:
Sebastian Sumpf 2015-02-26 13:22:09 +01:00 committed by Christian Helmuth
parent d68c7d1d10
commit e866bf3fa3
1 changed files with 2 additions and 2 deletions

View File

@ -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"