Fixing test paths

This commit is contained in:
John Jones 2017-09-20 11:10:54 -05:00
parent 07551151da
commit cfffe36fb2
6 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@
},
"Datastore": {
"Type": "lmdb",
"Path": "/tmp/ipfs_1/datastore",
"Path": "/tmp/ipfs_1/.ipfs/datastore",
"StorageMax": "10GB",
"StorageGCWatermark": 90,
"GCPeriod": "1h",

View file

@ -5,7 +5,7 @@
},
"Datastore": {
"Type": "lmdb",
"Path": "/tmp/ipfs_2/datastore",
"Path": "/tmp/ipfs_2/.ipfs/datastore",
"StorageMax": "10GB",
"StorageGCWatermark": 90,
"GCPeriod": "1h",

View file

@ -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;

View file

@ -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;

View file

@ -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)) {

View file

@ -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;