[Issue#] N/A
[Feature/Bug] N/A
[Problem] Failing test tc04_security_server_check_privilege_weird_input_case
[Cause] Test was checking if big (>2^16) gid values are acceptable, but there
was no privilege for given gid.
[Solution] Expected value changed from SECURITY_SERVER_API_SUCCESS to
SECURITY_SERVER_API_ERROR_ACCESS_DENIED.
[Verification] Run tests. tc04_security_server_check_privilege_weird_input_case should pass.
Change-Id: Ibc7e624cfceb6d9018b685fb83340e693bcf93e0
gid = 70666;
ret = security_server_check_privilege(cookie2, gid);
- RUNNER_ASSERT_MSG(ret == SECURITY_SERVER_API_SUCCESS, "ret: " << ret);
+ RUNNER_ASSERT_MSG(ret == SECURITY_SERVER_API_ERROR_ACCESS_DENIED, "ret: " << ret);
}
RUNNER_TEST(tc05_security_server_check_privilege_by_cookie_weird_input_case)
{