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

fix bug: RegExp in processes resource can't match long-run process #1332 #1333

Merged
merged 2 commits into from
Nov 30, 2016

Conversation

Wing924
Copy link
Contributor

@Wing924 Wing924 commented Nov 29, 2016

Fix #1332 by change RegExp

@chris-rock
Copy link
Contributor

@Wing924 awesome addition. Lets add a test to our unit tests to ensure future changes will not break this behavior: https://github.com/chef/inspec/blob/master/test/unit/resources/processes_test.rb

@Wing924 Wing924 force-pushed the fix_regexp_in_processes branch 2 times, most recently from 98fc30d to 546625d Compare November 30, 2016 03:42
Signed-off-by: Wei, He <weihe924stephen@gmail.com>
@Wing924
Copy link
Contributor Author

Wing924 commented Nov 30, 2016

@chris-rock Thank you for your comment. I added the test cases.
The travis test fails randomly. Can you help me with this problem?

@chris-rock
Copy link
Contributor

Great work @Wing924. Thank you for your contribution. I take care of the failing tests, since they are not related to your PR.

@chris-rock chris-rock merged commit 8346d2a into inspec:master Nov 30, 2016
@Wing924 Wing924 deleted the fix_regexp_in_processes branch November 30, 2016 09:16
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