The shell test suite (iptables/tests/shell/run-tests.sh) is currently failing on the firewalld tests:
W: [FAILED] ././testcases/firewalld-restore/0001-firewalld_0: expected 0 but got 1
W: [FAILED] ././testcases/firewalld-restore/0002-firewalld-restart_0: expected 0 but got 1
After some troubleshooting, it turns out this is happening because of an unsorted order in the output of iptables-save, which was fixed[1] in later releases of iptables. The code was trying to compensate for that, but there was a small mistake[2] in a case/esac globbing:
case "$XT_MULTI" in
-*/xtables-nft-multi)
+*xtables-nft-multi)
The shell test suite (iptables/ tests/shell/ run-tests. sh) is currently failing on the firewalld tests:
W: [FAILED] ././testcases/ firewalld- restore/ 0001-firewalld_ 0: expected 0 but got 1 firewalld- restore/ 0002-firewalld- restart_ 0: expected 0 but got 1
W: [FAILED] ././testcases/
After some troubleshooting, it turns out this is happening because of an unsorted order in the output of iptables-save, which was fixed[1] in later releases of iptables. The code was trying to compensate for that, but there was a small mistake[2] in a case/esac globbing:
case "$XT_MULTI" in nft-multi) nft-multi)
-*/xtables-
+*xtables-
1. https:/ /git.netfilter. org/iptables/ commit/ ?id=e28cf12cf50 b9e2e0114f04331 635fc122cb8aef /git.netfilter. org/iptables/ commit/ ?id=2b2b7948c19 60ba4680677664f f58477be869de6
2. https:/