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
d4ca23d3
Commit
d4ca23d3
authored
9 years ago
by
Juan Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1785 from ipfs/improve-t0100
t0100: swap test_cmp arguments
parents
3e8f7bd3
3c3a9c97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/sharness/t0100-name.sh
test/sharness/t0100-name.sh
+4
-4
No files found.
test/sharness/t0100-name.sh
View file @
d4ca23d3
...
...
@@ -20,7 +20,7 @@ test_expect_success "'ipfs name publish' succeeds" '
test_expect_success
"publish output looks good"
'
echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS" >expected1 &&
test_cmp publish_out
expected1
test_cmp
expected1
publish_out
'
test_expect_success
"'ipfs name resolve' succeeds"
'
...
...
@@ -29,7 +29,7 @@ test_expect_success "'ipfs name resolve' succeeds" '
test_expect_success
"resolve output looks good"
'
printf "/ipfs/%s" "$HASH_WELCOME_DOCS" >expected2 &&
test_cmp
output
expected2
test_cmp expected2
output
'
# now test with a path
...
...
@@ -42,7 +42,7 @@ test_expect_success "'ipfs name publish' succeeds" '
test_expect_success
"publish a path looks good"
'
echo "Published to ${PEERID}: /ipfs/$HASH_WELCOME_DOCS/help" >expected3 &&
test_cmp publish_out
expected3
test_cmp
expected3
publish_out
'
test_expect_success
"'ipfs name resolve' succeeds"
'
...
...
@@ -51,7 +51,7 @@ test_expect_success "'ipfs name resolve' succeeds" '
test_expect_success
"resolve output looks good"
'
printf "/ipfs/%s/help" "$HASH_WELCOME_DOCS" >expected4 &&
test_cmp
output
expected4
test_cmp expected4
output
'
# publish with an explicit node ID
...
...
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