~dveeden/mysql-sandbox/mysql-sandbox

« back to all changes in this revision

Viewing changes to t/custom_user_pwd.sb.pl

  • Committer: Giuseppe Maxia
  • Date: 2010-01-08 14:18:53 UTC
  • Revision ID: g.maxia@gmail.com-20100108141853-6ycxvjjpfqfzzbv5
- Fixed bud in make_multiple_custom_sandbox. With some versions of bash, it broke on tests with "use_all"
- fixed bug on symlink access on some platforms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
my $custom_password= 'newpassword';
13
13
ok_exec( {
14
14
    command   => "make_sandbox $TEST_VERSION "
 
15
                 ." --no_confirm "
15
16
                 ." --sandbox_directory=$dir_name " 
16
17
                 ." --db_user=$custom_user_name "
17
18
                 ." --db_password=$custom_password ",
25
26
    expected  => $TEST_VERSION,
26
27
    msg       => 'server is accessible',
27
28
});
28
 
$ENV{MYCLIENT_OPTIONS} = undef;
 
29
$ENV{MYCLIENT_OPTIONS} = '';
29
30
ok_exec( {
30
31
    command   => "sbtool -o delete -s $sandbox_home/$dir_name ", 
31
32
    expected  => 'has been removed',