From: kyungwook tak Date: Wed, 1 Oct 2014 05:57:09 +0000 (+0900) Subject: Restore cc mode status to off in deinit X-Git-Tag: security-manager_5.5_testing~9^2~151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F28875%2F2;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git Restore cc mode status to off in deinit Change-Id: I1ae644057580248a8134d7c47101bbfce4ad72d5 Signed-off-by: kyungwook tak --- diff --git a/tests/ckm/main.cpp b/tests/ckm/main.cpp index 52b75a9..98df3c7 100644 --- a/tests/ckm/main.cpp +++ b/tests/ckm/main.cpp @@ -3129,6 +3129,8 @@ RUNNER_TEST(T2004_deinit) auto control = CKM::Control::create(); RUNNER_ASSERT_MSG( CKM_API_SUCCESS == (tmp = control->removeUserData(0)), "Error=" << CKM::ErrorToString(tmp)); + RUNNER_ASSERT_MSG( CKM_API_SUCCESS == (tmp = control->setCCMode(CKM::CCModeState::CC_MODE_OFF)), // default state : cc mode off + "Error=" << CKM::ErrorToString(tmp)); system("`ps axf | grep key-manager-listener | grep -v grep | awk '{print \"kill -9 \" $1}'`"); system("vconftool unset file/security_mdpp/security_mdpp_state"); system("/usr/bin/key-manager-listener");