use lowercase $VERSION for upgrade version check
ClosedPublic

Authored by adamwill on Oct 15 2015, 11:55 PM.

Details

Summary

For Rawhide, the text in os-release-fedora is 'rawhide' not
'Rawhide', so lc the $VERSION value when checking. For other
releases it's digits, so the lc won't change anything - lc('23')
is '23'.

Test Plan

Run the Rawhide upgrade tests, they should succeed.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adamwill retitled this revision from to use lowercase $VERSION for upgrade version check.Oct 15 2015, 11:55 PM
adamwill updated this object.
adamwill edited the test plan for this revision. (Show Details)
adamwill added reviewers: jskladan, garretraziel.
garretraziel accepted this revision.Oct 16 2015, 11:35 AM

Yup, works OK.

This revision is now accepted and ready to land.Oct 16 2015, 11:35 AM
This revision was automatically updated to reflect the committed changes.