From d02909910baee70a7a20e3dce05dd1bdcaaf0f8a Mon Sep 17 00:00:00 2001 From: "msvensson@shellback.(none)" <> Date: Wed, 11 Oct 2006 15:45:35 +0200 Subject: [PATCH] mtr_im_stop returns 1 if all is well --- mysql-test/mysql-test-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index dd6e8dacbdc..1759b357eb1 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2904,7 +2904,7 @@ sub run_testcase ($) { # Stop Instance Manager if we are processing an IM-test case. # ---------------------------------------------------------------------- if ( $tinfo->{'component_id'} eq 'im' and - mtr_im_stop($instance_manager, $tinfo->{'name'}) != 0 ) + !mtr_im_stop($instance_manager, $tinfo->{'name'}) ) { mtr_error("Failed to stop Instance Manager.") }