~diego-fmpwizard/mysql-sandbox/repl-topo-aggr-support

« back to all changes in this revision

Viewing changes to t/Test_Helper.pm

  • Committer: Giuseppe Maxia
  • Date: 2009-04-12 13:24:56 UTC
  • Revision ID: g.maxia@gmail.com-20090412132456-1ojouazp4ryqj114
fixed bug in make_replication_sandbox and make_multiple_sandbox. If a group sandbox was the first to be created under $SANDBOX_HOME, it failed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        die "command expected\n";
20
20
    }
21
21
    unless ($expected_tests) {
22
 
        die "how many tests expected as second parameter\n";
 
22
        die "number of tests expected as second parameter\n";
23
23
    }
24
24
    $expected_tests =~ /^\d+$/
25
25
        or die "the 'expected tests' parameter must be a number \n";