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