Merge branch '2.3' into develop
This commit is contained in:
@ -232,7 +232,7 @@ int main(int argc, char** argv)
|
||||
/** Set datadir to /tmp */
|
||||
set_datadir(MXS_STRDUP_A("/tmp"));
|
||||
|
||||
/* Unlink any existing password file before running this test */
|
||||
/* Unlink any existing password files before running this test */
|
||||
sprintf(buf, "%s/maxadmin-users", get_datadir());
|
||||
if (!is_valid_posix_path(buf))
|
||||
{
|
||||
@ -241,6 +241,14 @@ int main(int argc, char** argv)
|
||||
|
||||
unlink(buf);
|
||||
|
||||
sprintf(buf, "%s/passwd", get_datadir());
|
||||
if (!is_valid_posix_path(buf))
|
||||
{
|
||||
exit(1);
|
||||
}
|
||||
|
||||
unlink(buf);
|
||||
|
||||
admin_users_init();
|
||||
result += test1();
|
||||
result += test2();
|
||||
|
||||
Reference in New Issue
Block a user