Skip to content

Commit

Permalink
docker sharness
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Jan 30, 2025
1 parent ab2657e commit af0c5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0002-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test_expect_success "docker image build succeeds" '

test_expect_success "write init scripts" '
echo "ipfs config Provider.Strategy Bar" > 001.sh &&
echo "ipfs config Datastore.Path Qux" > 002.sh &&
echo "ipfs config Pubsub.Router Qux" > 002.sh &&
chmod +x 002.sh
'

Expand Down Expand Up @@ -68,7 +68,7 @@ test_expect_success "check that init script configs were applied" '
docker exec "$DOC_ID" ipfs config Provider.Strategy > actual &&
test_cmp actual expected &&
echo Qux > expected &&
docker exec "$DOC_ID" ipfs config Datastore.Path > actual &&
docker exec "$DOC_ID" ipfs config Pubsub.Router > actual &&
test_cmp actual expected
'

Expand Down

0 comments on commit af0c5c6

Please sign in to comment.