Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
bc2e325e
Commit
bc2e325e
authored
Sep 12, 2018
by
Kejie Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rabin min error test
License: MIT Signed-off-by:
Kejie Zhang
<
601172892@qq.com
>
parent
cf963724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
test/sharness/t0040-add-and-cat.sh
test/sharness/t0040-add-and-cat.sh
+9
-0
No files found.
test/sharness/t0040-add-and-cat.sh
View file @
bc2e325e
...
@@ -156,6 +156,15 @@ test_add_cat_file() {
...
@@ -156,6 +156,15 @@ test_add_cat_file() {
test_cmp expected actual
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"
'
test_expect_success
"ipfs add on hidden file succeeds"
'
echo "Hello Worlds!" >mountdir/.hello.txt &&
echo "Hello Worlds!" >mountdir/.hello.txt &&
ipfs add mountdir/.hello.txt >actual
ipfs add mountdir/.hello.txt >actual
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment