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

use stat -c for alpine linux #146

Merged
merged 2 commits into from
Sep 5, 2016
Merged

use stat -c for alpine linux #146

merged 2 commits into from
Sep 5, 2016

Conversation

chris-rock
Copy link
Contributor

This fixes inspec/inspec#996

@stevendanna
Copy link
Contributor

👍 This looks reasonable to me. If that conditional check for -c vs --printf gets any larger in the future we might consider extracting it to a method such as:

def has_stat_printf_flag(os)

But since it is only two platforms at the moment I think this is fine.

@stevendanna stevendanna merged commit d3b03b9 into master Sep 5, 2016
@chris-rock chris-rock deleted the chris-rock/alpine-stat branch September 5, 2016 09:05
@chris-rock
Copy link
Contributor Author

@stevendanna agree with you on that.

@clintoncwolfe clintoncwolfe added Type: Bug Feature not working as expected and removed Type: Bug labels Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inspec Docker directory test fails
4 participants