This solution is needed in order to provide SetUp
and TearDown for RDSMode and avoid modification of
"/home/owner/share/tmp/sdk_tools" during testing.
Change-Id: I871ab59c55a9eafaadf382d3e3f2f88eef3f5840
Signed-off-by: kniedzielew <k.niedzielew@samsung.com>
const std::string& kDefaultUserIdStr = std::to_string(kDefaultUserUid);
const uid_t kGlobalUserUid = tzplatform_getuid(TZ_SYS_GLOBALAPP_USER);
const uid_t kGlobalUserGid = tzplatform_getgid(TZ_SYS_GLOBALAPP_USER);
+extern const bf::path kSdkDirectory = "/home/owner/share/tmp/sdk_tools";
ci::RequestMode ParseRequestMode(int argc, char** argv) {
bo::options_description desc("Available options");
bf::path apps_rw = ci::GetRootAppPath(false, test_uid);
entries.emplace_back(apps_rw);
+ entries.emplace_back(kSdkDirectory);
return entries;
}
namespace smoke_test {
extern const bf::path kSmokePackagesDirectory;
+extern const bf::path kSdkDirectory;
extern const uid_t kGlobalUserUid;
extern const uid_t kGlobalUserGid;
extern const char kLegacyExtImageDir[];