summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2022-09-01 17:32:01 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2022-09-01 17:37:54 +0900
commit5483fc2223a9c46eafe501dd6b69d58ecd45c879 (patch)
treef777cef3b3a1e28debe147e791361465e9f08554
parentfccfb02d128c9504e0ba1182416e7e86c8a5a310 (diff)
downloadpass-5483fc2223a9c46eafe501dd6b69d58ecd45c879.tar.gz
pass-5483fc2223a9c46eafe501dd6b69d58ecd45c879.tar.bz2
pass-5483fc2223a9c46eafe501dd6b69d58ecd45c879.zip
tests: resource-monitor-tests: Fix test fail by changing the return valuesubmit/tizen/20220901.084153accepted/tizen/unified/20220902.020129
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>
-rw-r--r--tests/integration-test/resource-monitor-tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration-test/resource-monitor-tests.cpp b/tests/integration-test/resource-monitor-tests.cpp
index 8d62db8..f588989 100644
--- a/tests/integration-test/resource-monitor-tests.cpp
+++ b/tests/integration-test/resource-monitor-tests.cpp
@@ -184,7 +184,7 @@ TEST_F(ResourceMonitorTest,
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);