mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
add rabin min error test
License: MIT Signed-off-by: Kejie Zhang <601172892@qq.com>
This commit is contained in:
parent
cf963724a7
commit
bc2e325e5c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user