diff --git a/test/config.test1 b/test/config.test1 index f0296b8..b9bf874 100644 --- a/test/config.test1 +++ b/test/config.test1 @@ -5,7 +5,7 @@ }, "Datastore": { "Type": "lmdb", - "Path": "/tmp/ipfs_1/datastore", + "Path": "/tmp/ipfs_1/.ipfs/datastore", "StorageMax": "10GB", "StorageGCWatermark": 90, "GCPeriod": "1h", diff --git a/test/config.test2 b/test/config.test2 index 87e9467..898f372 100644 --- a/test/config.test2 +++ b/test/config.test2 @@ -5,7 +5,7 @@ }, "Datastore": { "Type": "lmdb", - "Path": "/tmp/ipfs_2/datastore", + "Path": "/tmp/ipfs_2/.ipfs/datastore", "StorageMax": "10GB", "StorageGCWatermark": 90, "GCPeriod": "1h", diff --git a/test/core/test_api.h b/test/core/test_api.h index 30a4824..5c2a8a1 100644 --- a/test/core/test_api.h +++ b/test/core/test_api.h @@ -8,7 +8,7 @@ #include "ipfs/importer/importer.h" int test_core_api_startup_shutdown() { - char* repo_path = "/tmp/ipfs_1"; + char* repo_path = "/tmp/ipfs_1/.ipfs"; char* peer_id = NULL; int retVal = 0; diff --git a/test/journal/test_journal.h b/test/journal/test_journal.h index dfe72f1..493f3df 100644 --- a/test/journal/test_journal.h +++ b/test/journal/test_journal.h @@ -78,7 +78,7 @@ int test_journal_server_1() { int retVal = 0; pthread_t daemon_thread; int thread_started = 0; - char* ipfs_path = "/tmp/ipfs_1"; + char* ipfs_path = "/tmp/ipfs_1/.ipfs"; char* config_file = "config.test1"; struct FSRepo* fs_repo = NULL; diff --git a/test/namesys/test_publisher.h b/test/namesys/test_publisher.h index c6417b7..a409744 100644 --- a/test/namesys/test_publisher.h +++ b/test/namesys/test_publisher.h @@ -9,7 +9,7 @@ int test_namesys_publisher_publish() { struct IpfsNode* local_node = NULL; struct Cid* cid = NULL; char* hash_text = "QmZtAEqmnXMZkwVPKdyMGxUoo35cQMzNhmq6CN3DvgRwAD"; - char* repo_path = "/tmp/ipfs_1"; + char* repo_path = "/tmp/ipfs_1/.ipfs"; // get a local node if (!ipfs_node_offline_new(repo_path, &local_node)) { diff --git a/test/routing/test_routing.h b/test/routing/test_routing.h index dbfe338..7c9472e 100644 --- a/test/routing/test_routing.h +++ b/test/routing/test_routing.h @@ -22,7 +22,7 @@ */ int test_routing_put_value() { int retVal = 0; - char* ipfs_path_publisher = "/tmp/ipfs_1"; + char* ipfs_path_publisher = "/tmp/ipfs_1/.ipfs"; char* peer_id_publisher = NULL; struct MultiAddress* ma_publisher = NULL; pthread_t thread_publisher;