Let cap_integrity test be more expressive
By using the `compare_output_to` method from the run tool instead of using regexp in the cap_integrity run-script, the test outputs the undesired lines instead of just signaling that the test failed.
This commit is contained in:
parent
747c482188
commit
bb90a2d41d
|
@ -32,8 +32,5 @@ match_max -d 100000
|
||||||
|
|
||||||
run_genode_until {child exited with exit value 0.*} 60
|
run_genode_until {child exited with exit value 0.*} 60
|
||||||
|
|
||||||
if {[regexp {\[init\] test message} $output]} {
|
grep_output {\[init\] test message}
|
||||||
exit -1
|
compare_output_to { }
|
||||||
}
|
|
||||||
|
|
||||||
puts "Test succeeded"
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user