Refine secure_file_priv system variable

This commit is contained in:
wjhh2008
2023-08-10 02:24:31 +00:00
committed by ob-robot
parent f498b76ce3
commit 3c61eb9f41
6 changed files with 25 additions and 18 deletions

View File

@ -33,7 +33,7 @@ TEST_F(TestResovlerUtils, check_secure_path)
int ret = OB_SUCCESS;
{
ObString secure_file_priv("");
ObString secure_file_priv("/");
ObString directory_path1("/tmp");
ret = ObResolverUtils::check_secure_path(secure_file_priv, directory_path1);
ASSERT_EQ(OB_SUCCESS, ret);