Make it possible to define how many slaves to start by

writing --slave-num=n in <testname>-master.opt file
This commit is contained in:
unknown 2007-04-18 13:50:54 +02:00
parent e3a24797fd
commit 5c91177542

View file

@ -340,6 +340,13 @@ sub collect_one_test_case($$$$$$$) {
next;
}
$value= mtr_match_prefix($opt, "--slave-num=");
if ( defined $value )
{
$tinfo->{'slave_num'}= $value;
next;
}
$value= mtr_match_prefix($opt, "--result-file=");
if ( defined $value )
{