Merge branch '2.3' into develop

This commit is contained in:
Markus Mäkelä
2019-05-02 20:24:04 +03:00
5 changed files with 30 additions and 22 deletions

View File

@ -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();