Commit bc2e325e authored by Kejie Zhang's avatar Kejie Zhang

add rabin min error test

License: MIT
Signed-off-by: default avatarKejie Zhang <601172892@qq.com>
parent cf963724
......@@ -156,6 +156,15 @@ test_add_cat_file() {
test_cmp expected actual
'
test_expect_success "ipfs add --chunker rabin-36-512-1024 succeeds" '
ipfs add --chunker rabin-36-512-1024 mountdir/hello.txt >actual
'
test_expect_failure "ipfs add --chunker rabin-12-512-1024 failed" '
ipfs add --chunker rabin-12-512-1024 mountdir/hello.txt >actual
'
test_expect_success "ipfs add on hidden file succeeds" '
echo "Hello Worlds!" >mountdir/.hello.txt &&
ipfs add mountdir/.hello.txt >actual
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment