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

print out all daemon stderr files when iptb stop fails #3701

Merged
merged 1 commit into from
Feb 20, 2017

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com

@@ -79,7 +79,8 @@ run_advanced_test() {
run_random_dir_test

test_expect_success "shut down nodes" '
iptb stop
iptb stop ||
test_fsh cat .iptb/*/daemon.stderr
Copy link
Member

Choose a reason for hiding this comment

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

In my experience: tail -n +1 is better than cat as it also shows filenames.

I would go with tail -n +1 .iptb/*/daemon.std*

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 cool, thanks :)

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
Copy link
Member

@Kubuxu Kubuxu left a comment

Choose a reason for hiding this comment

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

merge it 😄

@whyrusleeping whyrusleeping merged commit 427ccfc into master Feb 20, 2017
@whyrusleeping whyrusleeping deleted the debug/iptb-fails branch February 20, 2017 19:09
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Feb 20, 2017
@Kubuxu Kubuxu added this to the ipfs 0.4.6 milestone Feb 21, 2017
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.

2 participants