Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9d4034d authored by Steven Moreland's avatar Steven Moreland
Browse files

init_kill_services_test: clearer logs

Don't continue with a specific run if a service
is already dead.

Bug: 272618190
Test: init_kill_services_test
Change-Id: I1b1c0b4e87fd7a5200bd6e6e6af2eb9686d7367d
parent 915ea84d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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()));