diff options
author | Ingo Huerner <ingo.huerner@xse.de> | 2013-12-09 09:27:45 +0100 |
---|---|---|
committer | Ingo Huerner <ingo.huerner@xse.de> | 2013-12-09 09:27:45 +0100 |
commit | e13e80bc4d767605b85e87d459e1f3016cdfddd1 (patch) | |
tree | 4ddc8bb424226f3163692d0026214c67c8758ea7 /test | |
parent | da863e2e60b23b1fd718b39e12a5ed26807dc752 (diff) | |
download | persistence-client-library-e13e80bc4d767605b85e87d459e1f3016cdfddd1.tar.gz |
Fixed PCL bugs: 137, 138, 141
Diffstat (limited to 'test')
-rw-r--r-- | test/data/Data.tar.gz | bin | 49626 -> 49923 bytes | |||
-rw-r--r-- | test/persistence_client_library_test.c | 7 |
2 files changed, 2 insertions, 5 deletions
diff --git a/test/data/Data.tar.gz b/test/data/Data.tar.gz Binary files differindex 740b4da..37a9f76 100644 --- a/test/data/Data.tar.gz +++ b/test/data/Data.tar.gz diff --git a/test/persistence_client_library_test.c b/test/persistence_client_library_test.c index 789c9cc..412042e 100644 --- a/test/persistence_client_library_test.c +++ b/test/persistence_client_library_test.c @@ -966,7 +966,7 @@ START_TEST(test_GetPath) { int ret = 0; char* path = NULL; - const char* thePath = "/Data/mnt-wt/lt-persistence_client_library_test/user/1/seat/1/media/mediaDB.db"; + const char* thePath = "/Data/mnt-wt/lt-persistence_client_library_test/user/1/seat/1/media/mediaDB_create.db"; unsigned int pathSize = 0; unsigned int shutdownReg = PCL_SHUTDOWN_TYPE_FAST | PCL_SHUTDOWN_TYPE_NORMAL; @@ -974,8 +974,7 @@ START_TEST(test_GetPath) ret = pclInitLibrary(gTheAppId, shutdownReg); fail_unless(ret <= 1, "Failed to init PCL"); #if 1 - ret = pclFileCreatePath(0xFF, "media/mediaDB.db", 1, 1, &path, &pathSize); - //printf("PATH: %s \n", path); + ret = pclFileCreatePath(0xFF, "media/mediaDB_create.db", 1, 1, &path, &pathSize); fail_unless(strncmp((char*)path, thePath, strlen((char*)path)) == 0, "Path not correct"); fail_unless(pathSize == strlen((char*)path), "Path size not correct"); @@ -1075,8 +1074,6 @@ int main(int argc, char *argv[]) nr_failed = srunner_ntests_failed(sr); srunner_free(sr); -#else - #endif // unregister debug log and trace |