Fix smoke test 82/114982/2 accepted/tizen/3.0/common/20170222.125427 accepted/tizen/3.0/ivi/20170222.081626 accepted/tizen/3.0/mobile/20170222.081309 accepted/tizen/3.0/tv/20170222.081405 accepted/tizen/3.0/wearable/20170222.081446 submit/tizen_3.0/20170221.004258
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Feb 2017 04:02:28 +0000 (13:02 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Feb 2017 09:09:55 +0000 (18:09 +0900)
- Fix reinstall smoke test to work properly

Related changes :
[app-installers] : https://review.tizen.org/gerrit/114699

Change-Id: I682859a7093ca5981aad1b74ced17ff2f09a85bd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/unit_tests/smoke_test.cc

index bbcc1ec..b3b8475 100644 (file)
@@ -715,7 +715,7 @@ TEST_F(SmokeTest, RDSMode) {
   std::string appid = "smokeapp11.RDSMode";
   bf::path delta_directory = kSmokePackagesDirectory / "delta_dir/";
   bf::path sdk_expected_directory =
-      bf::path(ci::GetRootAppPath(false, kTestUserId)) / "tmp" / pkgid;
+      bf::path(tzplatform_getenv(TZ_SDK_TOOLS)) / "tmp" / pkgid;
   bs::error_code error;
   bf::create_directories(sdk_expected_directory.parent_path(), error);
   ASSERT_FALSE(error);