Even if PutResource tc is failed, need to restore the status of PASS
daemon. So that restart PASS daemon.
Change-Id: I3c4dab4f30a16660f0718bc1cd579afa15f75fbf
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
ret = pass_hal_put_resource(res);
if (ret < 0) {
pass_parser_put_resource_config(&g_pass);
+
+ /* Even if tc is failed, need to restart PASS daemon */
+ pass_test_method_call(DBUS_CORE_PATH, DBUS_CORE_INTERFACE,
+ "start", NULL);
ASSERT_EQ(ret, 0) << "PutResourceConfig Failed";
}
}