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
a11c5d27
Commit
a11c5d27
authored
Jul 21, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
path: gateway test for sharded dirs
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
772deca3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
test/sharness/t0260-sharding.sh
test/sharness/t0260-sharding.sh
+9
-0
No files found.
test/sharness/t0260-sharding.sh
View file @
a11c5d27
...
...
@@ -76,6 +76,15 @@ test_expect_success "'ipfs ls --resolve-type=false' admits missing block" '
test_cmp sharded_out missing_out
'
test_launch_ipfs_daemon
test_expect_success
"gateway can resolve sharded dirs"
'
echo 100 > expected &&
curl -sfo actual "http://127.0.0.1:$GWAY_PORT/ipfs/$SHARDED/file100" &&
test_cmp expected actual
'
test_kill_ipfs_daemon
test_add_large_dir_v1
()
{
exphash
=
"
$1
"
...
...
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