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

« back to all changes in this revision

Viewing changes to bin/test_sandbox

  • 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:
273
273
    if ($?) {
274
274
        die ("error executing $cmd ($!)\n");
275
275
    }
 
276
    print "qx(shell) $output\n" if $verbose;
276
277
    return $output;
277
278
}
278
279
 
288
289
    if ($?) {
289
290
        die ("error executing $cmd ($!)\n");
290
291
    }
 
292
    print "o3(shell) $output\n" if $verbose;
291
293
    return $output;
292
294
}
293
295
 
1256
1258
    # print Dumper \@user_tests; exit;
1257
1259
    for my $test (@user_tests) {
1258
1260
        my $rec = $test->[1];
 
1261
        # print Dumper $test;
1259
1262
        if ($test->[0] eq 'shell') {
1260
1263
            ok_exec({ command  => $rec->{command},
1261
1264
                      expected => $rec->{expected},