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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org