mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-22 21:21:43 +08:00
path: gateway test for sharded dirs
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
@ -76,6 +76,15 @@ test_expect_success "'ipfs ls --resolve-type=false' admits missing block" '
|
||||
test_cmp sharded_out missing_out
|
||||
'
|
||||
|
||||
test_launch_ipfs_daemon
|
||||
|
||||
test_expect_success "gateway can resolve sharded dirs" '
|
||||
echo 100 > expected &&
|
||||
curl -sfo actual "http://127.0.0.1:$GWAY_PORT/ipfs/$SHARDED/file100" &&
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_kill_ipfs_daemon
|
||||
|
||||
test_add_large_dir_v1() {
|
||||
exphash="$1"
|
||||
|
Reference in New Issue
Block a user