commit
b5d308519f73("util: resource: Change error code from -EPERM to
-EACCES") changed the return value from -EPERM to -EACCESS.
In order to pass the test, change the return value
according to commit
b5d308519f73.
Change-Id: I2e3261fe80ceea0fd70645484778916a928e8872
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
EXPECT_EQ(ret, 0);
ret = pass_resource_monitor_set_resource_attr(id, res_id, res_attr_id);
- EXPECT_EQ(ret, -EPERM);
+ EXPECT_EQ(ret, -EACCES);
ret = pass_resource_monitor_delete_resource(id, res_id);
EXPECT_EQ(ret, 0);