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

OS Detection and specs work on non-centos and future CentOS versions #185

Closed
wants to merge 1 commit into from
Closed

Conversation

chrisumbel
Copy link

Non-Centos RH OSes (i.e. Fedora which is used on Jenkins) were similarly unable to test because they got trapped out in repository_index.rb. OS detection specs even on CentOS 6 would fail when doing tests for the non-RH OSes.

OS detection on CentOS 7 would fail completely due to format changes for /etc/redhat-release.

OS detection would like have detected incorrectly on >9 as only a single digit was matched by regex.

Integration tests (spec/bin/*) still fail on non-Centos 6, RHEL-based OSes, but all other tests pass now.

Related to #183

trying again

        OS detection specs even on CentOS 6 would fail for non RH OSes. OS detection on CentOS 7 would fail completely due to format changes for /etc/redhat-release. OS detection would like have detected incorrectly on >9 as only a single digit was matched by regex.
@cfdreddbot
Copy link

Hey chrisumbel!

Thanks for submitting this pull request!

All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate).

When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization.

If you are confident that you're covered under a Corporate CLA, please make sure you've publicized your membership in the appropriate Github Org, per these instructions.

@chrisumbel
Copy link
Author

Redid the pull request as ended up in too funky a state.

@nebhale nebhale closed this in f2286ab May 6, 2015
@chrisumbel
Copy link
Author

Thanks, and sorry for the inverse-squash yesterday:)

@nebhale
Copy link
Contributor

nebhale commented May 6, 2015

No worries. First time is rough for everybody.

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.

3 participants