Merge "init_kill_services_test: clearer logs"

This commit is contained in:
Steven Moreland 2023-03-15 23:59:10 +00:00 committed by Gerrit Code Review
commit bc21816d5b

View file

@ -29,8 +29,8 @@ void ExpectKillingServiceRecovers(const std::string& service_name) {
const std::string initial_pid = GetProperty(pid_prop, "");
EXPECT_EQ("running", GetProperty(status_prop, "")) << status_prop;
EXPECT_NE("", initial_pid) << pid_prop;
ASSERT_EQ("running", GetProperty(status_prop, "")) << status_prop;
ASSERT_NE("", initial_pid) << pid_prop;
EXPECT_EQ(0, system(("kill -9 " + initial_pid).c_str()));