Skip to content

Commit

Permalink
test: fixture check at the beginning of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Mar 10, 2023
1 parent bec10b7 commit 727dc79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sharness/t0114-gateway-subdomains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ test_expect_success "Add the test fixtures" '
ipfs routing put /ipns/${ED25519_KEY} ../t0114-gateway-subdomains/${ED25519_KEY}.ipns-record
'

test_expect_success "Getting back the fixtures" '
ipfs get ${CIDv1} &&
ipfs routing get /ipns/${RSA_KEY} &&
ipfs routing get /ipns/${ED25519_KEY}
'

# ensure we start with empty Gateway.PublicGateways
test_expect_success 'start daemon with empty config for Gateway.PublicGateways' '
test_kill_ipfs_daemon &&
Expand Down

0 comments on commit 727dc79

Please sign in to comment.