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:
Stefan Kalkowski 2012-03-23 12:36:20 +01:00 committed by Norman Feske
parent 747c482188
commit bb90a2d41d
1 changed files with 2 additions and 5 deletions

View File

@ -32,8 +32,5 @@ match_max -d 100000
run_genode_until {child exited with exit value 0.*} 60
if {[regexp {\[init\] test message} $output]} {
exit -1
}
puts "Test succeeded"
grep_output {\[init\] test message}
compare_output_to { }