mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
Fix IP address matching in vbox share tests
This commit is contained in:
parent
bebbc87c3a
commit
30b47eab37
@ -272,14 +272,15 @@ exec cp ${genode_dir}/repos/ports/run/$vbox_file bin/.
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
set ip_match_string "address=(\[0-9\]+\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+).*\n"
|
||||
|
||||
#
|
||||
# Step 2: Read out TCP/IP address of tcp_terminal running on Genode target
|
||||
#
|
||||
run_genode_until {\[init -> tcp_terminal\] got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} 20
|
||||
run_genode_until $ip_match_string 20
|
||||
set serial_id [output_spawn_id]
|
||||
|
||||
regexp {\[init -> tcp_terminal\] got IP address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $output serial_ip_addr
|
||||
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+} $serial_ip_addr serial_ip_addr
|
||||
regexp $ip_match_string $output -> serial_ip_addr
|
||||
|
||||
#
|
||||
# Step 3: Wait until Windows is up for sure
|
||||
|
Loading…
x
Reference in New Issue
Block a user