Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergey418alt committed Jan 28, 2025
1 parent b69676b commit 42692c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/sharness/t0070-user-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ test_description="Test user-provided config values"
test_init_ipfs

test_expect_success "bootstrap doesn't overwrite user-provided config keys (top-level)" '
ipfs config Foo.Bar baz &&
ipfs config Provider.Strategy >previous &&
ipfs config Provider.Strategy foo &&
ipfs bootstrap rm --all &&
echo "baz" >expected &&
ipfs config Foo.Bar >actual &&
echo "foo" >expected &&
ipfs config Provider.Strategy >actual &&
ipfs config Provider.Strategy $(cat previous) &&
test_cmp expected actual
'

Expand Down

0 comments on commit 42692c6

Please sign in to comment.