Skip to content

Commit

Permalink
Merge pull request #4103 from ipfs/fix/4098
Browse files Browse the repository at this point in the history
sharness: use test profile
  • Loading branch information
whyrusleeping authored Jul 31, 2017
2 parents ef365d0 + 0ada886 commit 8ad3b11
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions test/sharness/lib/test-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,13 @@ test_init_ipfs() {

test_expect_success "ipfs init succeeds" '
export IPFS_PATH="$(pwd)/.ipfs" &&
ipfs init -b=1024 > /dev/null
ipfs init --profile=test -b=1024 > /dev/null
'

test_expect_success "prepare config -- mounting and bootstrap rm" '
test_expect_success "prepare config -- mounting" '
mkdir mountdir ipfs ipns &&
test_config_set Mounts.IPFS "$(pwd)/ipfs" &&
test_config_set Mounts.IPNS "$(pwd)/ipns" &&
test_config_set Addresses.API "/ip4/127.0.0.1/tcp/0" &&
test_config_set Addresses.Gateway "/ip4/0.0.0.0/tcp/0" &&
test_config_set --json Addresses.Swarm "[
\"/ip4/0.0.0.0/tcp/0\"
]" &&
ipfs bootstrap rm --all ||
test_config_set Mounts.IPNS "$(pwd)/ipns" ||
test_fsh cat "\"$IPFS_PATH/config\""
'

Expand Down

0 comments on commit 8ad3b11

Please sign in to comment.