From e866bf3fa34f1fe7055ae855ac099b9fab957ffb Mon Sep 17 00:00:00 2001 From: Sebastian Sumpf Date: Thu, 26 Feb 2015 13:22:09 +0100 Subject: [PATCH] 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. --- repos/ports-foc/run/l4linux_netperf.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/ports-foc/run/l4linux_netperf.inc b/repos/ports-foc/run/l4linux_netperf.inc index a218bc5558..8ad96211d7 100644 --- a/repos/ports-foc/run/l4linux_netperf.inc +++ b/repos/ports-foc/run/l4linux_netperf.inc @@ -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"