Skip to content

Commit c65608c

Browse files
adapt sharness tests
1 parent 617d5c8 commit c65608c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/sharness/t0002-docker-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test_expect_success "docker image build succeeds" '
3636
'
3737

3838
test_expect_success "write init scripts" '
39-
echo "ipfs config Reprovider.Strategy Bar" > 001.sh &&
39+
echo "ipfs config Mounts.IPFS Bar" > 001.sh &&
4040
echo "ipfs config Pubsub.Router Qux" > 002.sh &&
4141
chmod +x 002.sh
4242
'
@@ -65,7 +65,7 @@ test_expect_success "check that init scripts were run correctly and in the corre
6565

6666
test_expect_success "check that init script configs were applied" '
6767
echo Bar > expected &&
68-
docker exec "$DOC_ID" ipfs config Reprovider.Strategy > actual &&
68+
docker exec "$DOC_ID" ipfs config Mounts.IPFS > actual &&
6969
test_cmp actual expected &&
7070
echo Qux > expected &&
7171
docker exec "$DOC_ID" ipfs config Pubsub.Router > actual &&

test/sharness/t0070-user-config.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ test_description="Test user-provided config values"
1111
test_init_ipfs
1212

1313
test_expect_success "bootstrap doesn't overwrite user-provided config keys (top-level)" '
14-
ipfs config Reprovider.Strategy >previous &&
15-
ipfs config Reprovider.Strategy foo &&
14+
ipfs config Identity.PeerID >previous &&
15+
ipfs config Identity.PeerID foo &&
1616
ipfs bootstrap rm --all &&
1717
echo "foo" >expected &&
18-
ipfs config Reprovider.Strategy >actual &&
19-
ipfs config Reprovider.Strategy $(cat previous) &&
18+
ipfs config Identity.PeerID >actual &&
19+
ipfs config Identity.PeerID $(cat previous) &&
2020
test_cmp expected actual
2121
'
2222

0 commit comments

Comments
 (0)