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

Support either /dev/kcore or /dev/core in the tests #850

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

stevendanna
Copy link
Contributor

@stevendanna stevendanna commented Aug 1, 2016

I think /dev/core is the more usual location but /dev/kcore is what appears on Travis. This allows the tests to run for me locally using Docker for Mac

@stevendanna
Copy link
Contributor Author

Hrm. This seems to be behaving differently for me locally vs in travis. I'll sort it out locally so it behaves the same way it does in travis.

@stevendanna stevendanna closed this Aug 1, 2016
@arlimus arlimus deleted the ssd/core-not-kcore branch August 1, 2016 14:04
@stevendanna stevendanna restored the ssd/core-not-kcore branch August 2, 2016 10:29
@stevendanna stevendanna reopened this Aug 2, 2016
@stevendanna stevendanna changed the title Change /dev/kcore to /dev/core in tests Support either /dev/kcore or /dev/core in the tests Aug 2, 2016
@chris-rock
Copy link
Contributor

chris-rock commented Aug 2, 2016

@stevendanna that looks great. One question: Is /dev/core also working on travis? This would allow us to just have one solution that works everywhere.

Update: travis is not linking /dev/core to /proc/kcore

@chris-rock chris-rock changed the title Support either /dev/kcore or /dev/core in the tests WIP: Support either /dev/kcore or /dev/core in the tests Aug 2, 2016
@stevendanna
Copy link
Contributor Author

@chris-rock Unfortunately that is one of the first things I tried. It doesn't seem like Travis links /dev/core.

In many linux distributions a link to /proc/kcore is placed at
`/dev/core`. In TravisCI we see it at `/dev/kcore`. To avoid tests
failing for some developers locally, we support either location.
@chris-rock chris-rock changed the title WIP: Support either /dev/kcore or /dev/core in the tests Support either /dev/kcore or /dev/core in the tests Aug 2, 2016
@chris-rock chris-rock merged commit 707182d into master Aug 2, 2016
@chris-rock chris-rock deleted the ssd/core-not-kcore branch August 2, 2016 12:23
@chris-rock
Copy link
Contributor

Great work @stevendanna

@chris-rock chris-rock modified the milestone: 0.29.0 Aug 2, 2016
@chris-rock chris-rock added Type: Enhancement Improves an existing feature and removed Type: Enhancement Improves an existing feature labels Aug 2, 2016
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

3 participants