Merge pull request #9696 from ipfs/galargh-patch-2

fix: t0116-gateway-cache.sh
This commit is contained in:
Piotr Galar 2023-03-08 10:19:28 +01:00 committed by GitHub
commit eb8a72d919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ test_expect_success "Prepare IPNS unixfs content path for testing" '
grep -E "< Etag: \"DirIndex-.+_CID-${ROOT3_CID}\"" curl_ipfs_dir_listing_output
'
test_expect_success "GET /ipns/ dir response has special Etag for generated dir listing" '
test_should_contain "< Etag: \"DirIndex" curl_ipfs_dir_listing_output &&
test_should_contain "< Etag: \"DirIndex" curl_ipns_dir_listing_output &&
grep -E "< Etag: \"DirIndex-.+_CID-${ROOT3_CID}\"" curl_ipns_dir_listing_output
'