Commit d4ca23d3 authored by Juan Benet's avatar Juan Benet

Merge pull request #1785 from ipfs/improve-t0100

t0100: swap test_cmp arguments
parents 3e8f7bd3 3c3a9c97
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment