refactored tests (#147)
This commit is contained in:
@ -58,13 +58,13 @@ int main(int argc, char *argv[])
|
||||
Test->set_timeout(30);
|
||||
char str[1024];
|
||||
|
||||
sprintf(str, "php %s/bug729.php %s %d %s %s", test_dir, Test->maxscale_IP, Test->rwsplit_port,
|
||||
Test->maxscale_user, Test->maxscale_password);
|
||||
sprintf(str, "php %s/bug729.php %s %d %s %s", test_dir, Test->maxscales->IP[0], Test->maxscales->rwsplit_port[0],
|
||||
Test->maxscales->user_name, Test->maxscales->password);
|
||||
|
||||
Test->tprintf("Executing PHP script: %s\n", str);
|
||||
Test->add_result(system(str), "PHP script FAILED!\n");
|
||||
|
||||
Test->check_log_err((char *) "Can't route MYSQL_COM_STMT_PREPARE", false);
|
||||
Test->check_log_err(0, (char *) "Can't route MYSQL_COM_STMT_PREPARE", false);
|
||||
|
||||
int rval = Test->global_result;
|
||||
delete Test;
|
||||
|
Reference in New Issue
Block a user