std::vector<std::string> args =
{"", "-i", path.c_str(), "-u", test_uid_str.c_str()};
backend.CrashAfterEachStep(&args, [&](int step) -> bool {
- if (step >= 1) {
+ if (step >= 2) {
bf::path recovery_file = FindRecoveryFile("/tpk-recovery",
params.test_user.uid);
EXTENDED_ASSERT_FALSE(recovery_file.empty());
std::vector<std::string> args =
{"", "-i", path_new.string(), "-u", test_uid_str.c_str()};
backend.CrashAfterEachStep(&args, [&](int step) -> bool {
- if (step >= 1) {
+ if (step >= 2) {
std::string pkgid = "smokeapp16";
std::string appid = "smokeapp16.RecoveryModeTpkUpdate";
std::string exec = "native";
std::vector<std::string> args =
{"", "-i", path_new.string(), "-u", test_uid_str.c_str()};
backend.CrashAfterEachStep(&args, [&](int step) -> bool {
- if (step >= 1) {
+ if (step >= 2) {
std::string pkgid = "smoketpk35";
std::string appid = "smoketpk35.RecoveryMode_ForDelta";
std::string exec = "smoketpk35";
std::vector<std::string> args =
{"", "-w", path.string(), "-u", test_uid_str.c_str()};
backend.CrashAfterEachStep(&args, [&](int step) -> bool {
- if (step >= 1) {
+ if (step >= 2) {
std::string pkgid = "smoketpk37";
std::string appid = "smoketpk37.RecoveryMode_ForMountInstall";
bf::path recovery_file = FindRecoveryFile("/tpk-recovery",
std::vector<std::string> args =
{"", "-w", path_new.string(), "-u", test_uid_str.c_str()};
backend.CrashAfterEachStep(&args, [&](int step) -> bool {
- if (step >= 1) {
+ if (step >= 2) {
std::string pkgid = "smoketpk38";
std::string appid = "smoketpk38.RecoveryMode_ForMountUpdate";
std::string exec = "smoketpk38";