Skip to content

Commit

Permalink
test: Skip running tests where initscripts is not supported
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Liang <[email protected]>
  • Loading branch information
liangwen12year committed Dec 20, 2023
1 parent e213dc9 commit 70e4146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/tests_provider_nm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
- ansible_distribution_major_version != '6'

- networkmanager_version is version('1.20.0', '>=')
- ansible_distribution != 'RedHat' or
- ansible_distribution not in ['RedHat', 'CentOS'] or
ansible_distribution_major_version | int < 9
2 changes: 1 addition & 1 deletion tests/tests_regression_nm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
- ansible_distribution_major_version != '6'
# The test depends on behavior that is only visible with newer NM
- networkmanager_version is version('1.22.0', '>=')
- ansible_distribution != 'RedHat' or
- ansible_distribution not in ['RedHat', 'CentOS'] or
ansible_distribution_major_version | int < 9

0 comments on commit 70e4146

Please sign in to comment.