Skip to content

Commit

Permalink
Merge pull request #1783 from ipfs/improve-t0051
Browse files Browse the repository at this point in the history
t0051: swap test_cmp arguments
  • Loading branch information
jbenet committed Oct 3, 2015
2 parents 3eea954 + 8f102d2 commit 513b75a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/sharness/t0051-object.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ test_patch_create_path() {
'

test_expect_success "output looks good" '
ipfs cat $PCOUT/$name > tpcp_out &&
ipfs cat $target > tpcp_exp &&
test_cmp tpcp_out tpcp_exp
ipfs cat "$PCOUT/$name" >tpcp_out &&
ipfs cat "$target" >tpcp_exp &&
test_cmp tpcp_exp tpcp_out
'
}

Expand Down Expand Up @@ -161,7 +161,7 @@ test_object_cmd() {
echo DataSize: 2 >> obj_stat_exp &&
echo CumulativeSize: 114 >> obj_stat_exp &&
test_cmp obj_stat_out obj_stat_exp
test_cmp obj_stat_exp obj_stat_out
'

test_expect_success "should have created dir within a dir" '
Expand All @@ -188,7 +188,7 @@ test_object_cmd() {

test_expect_success "output looks good" '
echo "QmZD3r9cZjzU8huNY2JS9TC6n8daDfT8TmE8zBSqG31Wvq" > multi_link_rm_exp &&
test_cmp multi_link_rm_out multi_link_rm_exp
test_cmp multi_link_rm_exp multi_link_rm_out
'

test_patch_create_path $EMPTY a/b/c $FILE
Expand Down

0 comments on commit 513b75a

Please sign in to comment.