summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyungwook Tak <k.tak@samsung.com>2016-03-02 20:45:52 +0900
committerKyungwook Tak <k.tak@samsung.com>2016-03-02 20:45:52 +0900
commit4ac21f065674dd7c1b11a0918953fc552ec9a924 (patch)
treea19255f75a1054ac48ea7a3cb5d4f2f275925fd9 /tests
parentb4ea2b8348e45f355cdf1140b666f0897fc63644 (diff)
downloadlibwebappenc-4ac21f065674dd7c1b11a0918953fc552ec9a924.tar.gz
libwebappenc-4ac21f065674dd7c1b11a0918953fc552ec9a924.tar.bz2
libwebappenc-4ac21f065674dd7c1b11a0918953fc552ec9a924.zip
Change-Id: I664d9f039b09b576c4ebe84c29d8a7c459bc1384 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/wae_tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wae_tests.c b/tests/wae_tests.c
index 631e9ea..0b584e5 100644
--- a/tests/wae_tests.c
+++ b/tests/wae_tests.c
@@ -430,7 +430,7 @@ int wae_tc_get_preloaded_app_dek_file_path()
char path[256];
FPRINTF("...expected path : %s\n", expectedPath);
- ret = _get_preloaded_app_dek_file_path(pkgId, path);
+ ret = _get_preloaded_app_dek_file_path(pkgId, sizeof(path), path);
FPRINTF("...returned path : %s\n", path);
if(ret != WAE_ERROR_NONE || strncmp(expectedPath, path, strlen(expectedPath)) != 0) {
@@ -623,8 +623,8 @@ int wae_tc_load_preloaded_app_deks()
char path2[MAX_PATH_LEN] = {0, };
FILE *f2 = NULL;
- _get_preloaded_app_dek_file_path(pkgId1, path1);
- _get_preloaded_app_dek_file_path(pkgId2, path2);
+ _get_preloaded_app_dek_file_path(pkgId1, sizeof(path1), path1);
+ _get_preloaded_app_dek_file_path(pkgId2, sizeof(path2), path2);
// remove old test data
remove_app_dek(pkgId1, WAE_PRELOADED_APP);