X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fsrc%2Ftest_app2ext.c;h=9cc64e940109e3e42c43289981f796b533d4f2a7;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20160704.042542;hp=32861adbfdba79d072c2fcf9ac909f555882597b;hpb=4fef0ce86006be84570ccd0641e5ac76fd029361;p=platform%2Fcore%2Fappfw%2Fapp2sd.git diff --git a/test/src/test_app2ext.c b/test/src/test_app2ext.c index 32861ad..9cc64e9 100644 --- a/test/src/test_app2ext.c +++ b/test/src/test_app2ext.c @@ -469,18 +469,24 @@ static int app_move() if (ret == APP2EXT_SD_CARD) { printf("pkg %s is in sd card\n", TEST_PKGNAME); printf("pkg %s will be moved to internal memory\n", TEST_PKGNAME); - ret = handle->interface.client_move(TEST_PKGNAME, + ret = handle->interface.client_pre_move(TEST_PKGNAME, dir_list, APP2EXT_MOVE_TO_PHONE); print_error_code(__func__, ret); + ret = handle->interface.client_post_move(TEST_PKGNAME, + APP2EXT_MOVE_TO_PHONE); + print_error_code(__func__, ret); ret_check = app2ext_usr_get_app_location(TEST_PKGNAME, getuid()); if (ret_check == APP2EXT_INTERNAL_MEM) printf("pkg %s is moved to internal memory\n", TEST_PKGNAME); } else if (ret == APP2EXT_INTERNAL_MEM) { printf("pkg %s is in internal memory\n", TEST_PKGNAME); printf("pkg %s will be moved to sd card\n", TEST_PKGNAME); - ret = handle->interface.client_move(TEST_PKGNAME, + ret = handle->interface.client_pre_move(TEST_PKGNAME, dir_list, APP2EXT_MOVE_TO_EXT); print_error_code(__func__, ret); + ret = handle->interface.client_post_move(TEST_PKGNAME, + APP2EXT_MOVE_TO_EXT); + print_error_code(__func__, ret); ret_check = app2ext_usr_get_app_location(TEST_PKGNAME, getuid()); if (ret_check == APP2EXT_SD_CARD) printf("pkg %s is moved to sd card\n", TEST_PKGNAME);