Related:
- [tpk-backend]https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/226102/
- [wgt-backend]https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/226105/
Change-Id: I7ffe0981d586d70778413841e6baacd1f530aabd
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
break;
}
ASSERT_EQ(stepCount, i);
+
+ args->push_back("-type_clean");
+ for (i = stepCount - 1; i >= 2; i--) {
+ ci::Subprocess backend_crash(
+ "/usr/bin/" + prefix + "-installer-ut/smoke-test-helper");
+ auto it = args->end();
+ it -= 2;
+ *it = std::to_string(i);
+ backend_crash.Run(*args);
+ ASSERT_NE(backend_crash.Wait(), 0);
+ if (!validator(i))
+ break;
+ }
+ ASSERT_EQ(i , 1);
}
BackendInterface::CommandResult BackendInterface::RunInstallerWithPkgrmgr(