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
4bf3e967
Commit
4bf3e967
authored
10 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/t0040-add-and-cat updated hashes (new random)
parent
842de46c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/t0040-add-and-cat.sh
test/t0040-add-and-cat.sh
+3
-3
No files found.
test/t0040-add-and-cat.sh
View file @
4bf3e967
...
...
@@ -47,7 +47,7 @@ test_expect_success "generate 100MB file using go-random" '
'
test_expect_success
"sha1 of the file looks ok"
'
echo "
54dc0dbbc353b2ffb745285793f89af0c9d98449
mountdir/bigfile" >sha1_expected &&
echo "
ae986dd159e4f014aee7409cdc2001ea74f618d1
mountdir/bigfile" >sha1_expected &&
shasum mountdir/bigfile >sha1_actual &&
test_cmp sha1_expected sha1_actual
'
...
...
@@ -57,7 +57,7 @@ test_expect_success "ipfs add bigfile succeeds" '
'
test_expect_success
"ipfs add bigfile output looks good"
'
HASH="Qm
eZVkWkDu4W1vxWdDgUbqKYba9K3u45hJEdPA4Wr2sHZz
" &&
HASH="Qm
Vm3Da371opC3hpsCLuYSozdyM6wRvu9UoUqoyW8u4LRq
" &&
echo "added $HASH $(pwd)/mountdir/bigfile" >expected &&
test_cmp expected actual
'
...
...
@@ -67,7 +67,7 @@ test_expect_success "ipfs cat succeeds" '
'
test_expect_success
"ipfs cat output looks good"
'
echo "
54dc0dbbc353b2ffb745285793f89af0c9d98449
-" >sha1_expected &&
echo "
ae986dd159e4f014aee7409cdc2001ea74f618d1
-" >sha1_expected &&
test_cmp sha1_expected sha1_actual
'
...
...
This diff is collapsed.
Click to expand it.
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