Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test cmp args #1792

Merged
merged 4 commits into from
Oct 4, 2015
Merged

Fix test cmp args #1792

merged 4 commits into from
Oct 4, 2015

Conversation

chriscool
Copy link
Contributor

This PR replaces and completes the following PRs:

#1790
#1787
#1782

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
@@ -18,12 +18,13 @@ test_expect_success "creating files succeeds" '

test_add_symlinks() {
test_expect_success "ipfs add files succeeds" '
ipfs add -q -r files | tail -n 1 > filehash_out
ipfs add -q -r files >filehash_all &&
tail -n 1 filehash_all >filehash_out
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this because a pipefail won't register as an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah if ipfs add -q -r files fails then ipfs add -q -r files | tail -n 1 can still succeed. (false | true succeeds.)

jbenet added a commit that referenced this pull request Oct 4, 2015
@jbenet jbenet merged commit f70846f into master Oct 4, 2015
@jbenet jbenet removed the status/in-progress In progress label Oct 4, 2015
@jbenet jbenet deleted the fix-test-cmp-args branch October 4, 2015 09:59
@jbenet
Copy link
Member

jbenet commented Oct 4, 2015

thanks @chriscool

@chriscool chriscool mentioned this pull request Oct 5, 2015
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants