提交 cc93f661 作者: Kevin Atkinson

Add (failing) test case.

License: MIT
Signed-off-by: 's avatarKevin Atkinson <k@kevina.org>
上级 b563ea5a
......@@ -193,6 +193,12 @@ test_expect_success "GET compact blocks succeeds" '
test_cmp expected actual
'
test_expect_failure "GET compact blocks succeeds with seek" '
curl -I "http://127.0.0.1:$port/ipfs/$FOO2_HASH" &&
curl -v -o actual -H "Range:bytes=3-" "http://127.0.0.1:$port/ipfs/$FOO2_HASH" &&
test_cmp expected actual
'
test_kill_ipfs_daemon
test_done
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论