You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/10/12 03:06:38 UTC

[GitHub] [incubator-brpc] zyearn commented on a change in pull request #939: remove core before running test

zyearn commented on a change in pull request #939: remove core before running test
URL: https://github.com/apache/incubator-brpc/pull/939#discussion_r334217606
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -17,6 +17,7 @@ env:
 
 before_script:
 - ulimit -c unlimited -S       # enable core dumps
+- sudo bash -c "sudo echo 'core.%e.%p' > /proc/sys/kernel/core_pattern"
 
 Review comment:
   The real command should be put into another "bash -c" otherwise it would cause a permission issue. The reason may be  that the 'sudo' only promote the 'echo' part but not the whole command.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org