提交 e24b09f8 作者: Juan Batiz-Benet

test: comment out extra output in add_and_cat

上级 bd962b6c
...@@ -63,13 +63,15 @@ test_expect_success "ipfs add bigfile output looks good" ' ...@@ -63,13 +63,15 @@ test_expect_success "ipfs add bigfile output looks good" '
' '
test_expect_success "ipfs cat succeeds" ' test_expect_success "ipfs cat succeeds" '
ipfs cat $HASH >actual && ipfs cat $HASH | shasum >sha1_actual
cat actual | shasum >sha1_actual
' '
test_expect_success "ipfs cat output looks good" ' # this test commented out to run faster.
test_cmp mountdir/bigfile actual # uncomment to produce and examine output
' # test_expect_success "ipfs cat output looks good" '
# ipfs cat $HASH >actual &&
# test_cmp mountdir/bigfile actual
# '
test_expect_success "ipfs cat output shasum looks good" ' test_expect_success "ipfs cat output shasum looks good" '
echo "885b197b01e0f7ff584458dc236cb9477d2e736d -" >sha1_expected && echo "885b197b01e0f7ff584458dc236cb9477d2e736d -" >sha1_expected &&
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论