Fix return code from check-warnings to indicate if test failed or not.

No more string matching
This commit is contained in:
msvensson@shellback.(none) 2008-04-09 14:38:42 +02:00
commit f4661f34a6
4 changed files with 18 additions and 16 deletions

View file

@ -4,5 +4,9 @@
# for unexpected warnings found in the servers error log
#
--disable_query_log
call mtr.check_warnings();
call mtr.check_warnings(@result);
if (`select @result = 0`){
skip OK;
}
echo Found warnings;
--enable_query_log