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
e282aa14
Commit
e282aa14
authored
Jul 25, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sharness: make sure the writable gateway produces the correct hash
parent
2c222741
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
test/sharness/t0111-gateway-writeable.sh
test/sharness/t0111-gateway-writeable.sh
+5
-0
No files found.
test/sharness/t0111-gateway-writeable.sh
View file @
e282aa14
...
@@ -54,6 +54,11 @@ test_expect_success "We can HTTP GET file just created" '
...
@@ -54,6 +54,11 @@ test_expect_success "We can HTTP GET file just created" '
test_cmp infile outfile
test_cmp infile outfile
'
'
test_expect_success
"We got the correct hash"
'
ADD_HASH="/ipfs/$(ipfs add -q infile)" &&
test "x$ADD_HASH" = "x$HASH" || test_fsh echo "$ADD_HASH != $HASH"
'
test_expect_success
"HTTP GET empty directory"
'
test_expect_success
"HTTP GET empty directory"
'
URL="http://localhost:$port/ipfs/$HASH_EMPTY_DIR/" &&
URL="http://localhost:$port/ipfs/$HASH_EMPTY_DIR/" &&
echo "GET $URL" &&
echo "GET $URL" &&
...
...
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