Project

General

Profile

Actions

action #23546

closed

[sle][functional] Improve sle_version_at_least, e.g. to consider CaasP versions, behave comparable to leap_version_at_least, etc.

Added by riafarov over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Start date:
2017-08-23
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Comment from PR (https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3451):

@rwx788 like I said..it's important we get CaaSP honoring the sle_version_at_least
CaaSP 1.0 was mostly 12-SP2 with some 12-SP3, so the behaviour of at_least 12-SP2 would likely have worked
CaasP 2.0 will be 12-SP3 - we need it using the sle_version_at_least 12-SP3 behaviour
CaaSP 4.0 will be 15, which is why I think this is_sle approach is not acceptable - it will just break again in 5 months from now.
CaaSP is a sle distri, so we need to treat it as such

Problem (or confusing part is) sle_version_at_least returns true if VERSION value is anything which doesn't match SLE version naming convention. This is used in many places in TW, so we should approach it and make it more clear. E.g. leap_version_at_least returns false in case of non leap distri. This is inconsistent.

Actions

Also available in: Atom PDF