Home
last modified time | relevance | path

Searched refs:cmdRes (Results 1 – 3 of 3) sorted by relevance

/base/security/selinux/test/unittest/service_checker/
Dunit_test.cpp54 std::string cmdRes = RunCommand(cmd); variable
55 ASSERT_TRUE(cmdRes.find("hdf_devmgr_class") != std::string::npos);
71 std::string cmdRes = RunCommand(cmd); variable
72 ASSERT_TRUE(cmdRes.find(TEST_SERVICE_NAME) != std::string::npos);
88 std::string cmdRes = RunCommand(cmd); variable
89 ASSERT_TRUE(cmdRes.find(TEST_SERVICE_NAME) != std::string::npos);
106 std::string cmdRes = RunCommand(cmd); variable
107 ASSERT_TRUE(cmdRes.find("samgr_class") != std::string::npos);
124 std::string cmdRes = RunCommand(cmd); variable
125 ASSERT_TRUE(cmdRes.find(TEST_SERVICE_NAME) != std::string::npos);
[all …]
/base/security/selinux/test/unittest/paraperm_checker/
Dunit_test.cpp147 std::string cmdRes = RunCommand(cmd); variable
148 ASSERT_TRUE(cmdRes.find(TEST_NOT_EXIST_PARA_NAME) != std::string::npos);
166 std::string cmdRes = RunCommand(cmd); variable
167 ASSERT_TRUE(cmdRes.find(TEST_PARA_NAME) != std::string::npos);
197 std::string cmdRes = RunCommand(cmd); variable
198 ASSERT_TRUE(cmdRes.find(TEST_NOT_EXIST_PARA_NAME) != std::string::npos);
223 std::string cmdRes = RunCommand(cmd); variable
224 ASSERT_TRUE(cmdRes.find(TEST_PARA_NAME) != std::string::npos);
/base/security/selinux/test/unittest/hap_restorecon/
Dunit_test.cpp528 std::string cmdRes = RunCommand("ps -efZ | grep hap_restorecon_unittest | grep -v grep"); variable
529 ASSERT_TRUE(cmdRes.find(DEST_DOMAIN) != std::string::npos);