autopilot: adapt runscripts to run new tool

Related to #1372.
This commit is contained in:
Stefan Kalkowski 2015-02-03 13:29:44 +01:00 committed by Christian Helmuth
parent 0ac039fad7
commit b69deec067
2 changed files with 8 additions and 12 deletions

View File

@ -58,14 +58,12 @@ build_boot_image "core init tz_vmm linux initrd.gz"
# Execute test case
#
run_genode_until {.*\/ #.*} 220
set serial_id [output_spawn_id]
# Wait for network to settle down
send "sleep 5\n"
send "wget http://genode.org/\n"
send -i $serial_id "sleep 5\n"
send -i $serial_id "wget http://genode.org/\n"
expect {
-re "Connecting to genode.org.*index.html.*\/ #.*" { }
timeout { puts stderr "Error: Test execution timed out"; exit -2 }
}
run_genode_until "Connecting to genode.org.*index.html.*\/ #.*" 30 $serial_id
exec rm bin/initrd.gz bin/initrd.gz.md5 bin/linux bin/linux.md5

View File

@ -185,14 +185,12 @@ append_if [have_spec lan9118] qemu_args " -net nic,model=lan9118 -net user "
# Execute test case
#
run_genode_until {.*\/ #.*} 220
set serial_id [output_spawn_id]
# Wait for network to settle down
send "sleep 5\n"
send "wget http://genode.org/\n"
send -i $serial_id "sleep 5\n"
send -i $serial_id "wget http://genode.org/\n"
expect {
-re "Connecting to genode.org.*index.html.*\/ #.*" { }
timeout { puts stderr "Error: Test execution timed out"; exit -2 }
}
run_genode_until "Connecting to genode.org.*index.html.*\/ #.*" 30 $serial_id
exec rm bin/initrd.gz bin/initrd.gz.md5