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

Fix firewalld test for 15-SP6 #18349

Merged
merged 1 commit into from Dec 22, 2023
Merged

Conversation

DeepthiYV
Copy link
Contributor

@DeepthiYV DeepthiYV commented Dec 19, 2023

Fixed the firewalld test in both 15-SP6 and LEAP

@DeepthiYV DeepthiYV marked this pull request as draft December 19, 2023 14:46
@DeepthiYV DeepthiYV changed the title Fix firewalld tests for 15-SP6 Fix firewalld test for 15-SP6 Dec 20, 2023
@DeepthiYV DeepthiYV marked this pull request as ready for review December 20, 2023 09:56
@@ -156,7 +156,7 @@ sub test_masquerading {
script_run("iptables -t nat -L --line-numbers");
assert_script_run("iptables -t nat -L PRE_public_allow --line-numbers | sed '/^num\\|^\$\\|^Chain/d' | wc -l | tee /tmp/nr_rules_nat_pre.txt");
assert_script_run("iptables -t nat -L POST_public_allow --line-numbers | sed '/^num\\|^\$\\|^Chain/d' | wc -l | tee /tmp/nr_rules_nat_post.txt");
} elsif (is_leap("<16.0") || is_sle("<16")) {
} elsif (is_leap("<15.0") || is_sle("<15-SP6")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is (is_leap("<15.0") good enough, how about (is_leap("<15.6")

Copy link
Contributor

@rfan1 rfan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dzedro dzedro merged commit b1712f3 into os-autoinst:master Dec 22, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants