Fix smoke test 83/114983/2 accepted/tizen/3.0/common/20170222.125418 accepted/tizen/3.0/ivi/20170222.081621 accepted/tizen/3.0/mobile/20170222.081251 accepted/tizen/3.0/tv/20170222.081403 accepted/tizen/3.0/wearable/20170222.081444 submit/tizen_3.0/20170221.004258
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Feb 2017 04:03:13 +0000 (13:03 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Feb 2017 09:09:25 +0000 (18:09 +0900)
- Fix reinstall smoke test

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

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

index d7fc48f0250e6fa37d96858c66b923f4610c9e01..9f70312b399fe1a763e0b281b6a8c06feb894241 100644 (file)
@@ -638,7 +638,7 @@ TEST_F(SmokeTest, ReinstallMode_Tpk) {
   std::string pkgid = "smokeapp25";
   std::string appid = "smokeapp25.ReinstallModeTpk";
   bf::path sdk_expected_dir =
-      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_dir.parent_path(), error);
   ASSERT_FALSE(error);