fix: t0116-gateway-cache.sh

This commit is contained in:
Piotr Galar 2023-03-06 12:30:04 +01:00 committed by GitHub
parent d1541e1d30
commit 7aed2163d3
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
'