Skip to content

Conversation

tomwilkie
Copy link
Contributor

Part of #284

@tomwilkie tomwilkie changed the title [WIP] Move procspy out of vendor into probe/endpoint. Move procspy out of vendor into probe/endpoint. Dec 9, 2015
func TestWalkProcPid(t *testing.T) {
oldReadDir, oldLstat, oldStat, oldOpen := readDir, lstat, stat, open
defer func() { readDir, lstat, stat, open = oldReadDir, oldLstat, oldStat, oldOpen }()
readDir, lstat, stat, open = mockFS.ReadDir, mockFS.Lstat, mockFS.Stat, mockFS.Open

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@paulbellamy
Copy link
Contributor

LGTM

tomwilkie added a commit that referenced this pull request Dec 10, 2015
Move procspy out of vendor into probe/endpoint.
@tomwilkie tomwilkie merged commit ee2efeb into master Dec 10, 2015
@tomwilkie tomwilkie deleted the 284-probe-cpu branch December 10, 2015 13:59
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