nic_router.run: generate result string via loop

Issue #2609
This commit is contained in:
Martin Stein 2017-11-13 22:39:51 +01:00 committed by Christian Helmuth
parent cfbd1f0749
commit 2d153c40e4

View File

@ -8,6 +8,7 @@ proc enable_test_3 { } { return 1 }
proc enable_test_4 { } { return 1 }
proc enable_test_5 { } { return 1 }
proc enable_test_6 { } { return 1 }
proc nr_of_clients { } { return 6 }
source ${genode_dir}/repos/libports/run/nic_router.inc
@ -164,4 +165,8 @@ install_config $config
build_boot_image $boot_modules
run_genode_until {.*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n.*Test done.*\n} 240
for {set i 0} {$i < [nr_of_clients]} {incr i 1} {
append done_string {.*Test done.*\n}
}
run_genode_until $done_string 240