提交 0dc98429 作者: Steven Allen

test ipfs get on sharded directory

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 6895fc65
......@@ -4,7 +4,7 @@
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test global enable sharding flag"
test_description="Test directory sharding"
. lib/test-lib.sh
......@@ -23,6 +23,10 @@ test_add_large_dir() {
echo "$exphash" > sharddir_exp &&
test_cmp sharddir_exp sharddir_out
'
test_expect_success "ipfs get on very large directory succeeds" '
ipfs get -o testdata-out "$exphash" &&
test_cmp testdata testdata-out
'
}
test_init_ipfs
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论