diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b64d1ff2..59fd222f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,7 +121,7 @@ jobs: ping6 -c 4 ::1 || { echo "::1 is not reachable"; exit 1; } - - name: Run unit tests + - name: Run Integration test run: | cmake -S . -B build -DUA2F_BUILD_TESTS=OFF -DUA2F_ENABLE_UCI=OFF -DUA2F_ENABLE_ASAN=ON ${{ matrix.cache }} cmake --build build diff --git a/scripts/test.py b/scripts/test.py index 94746f43..c23eb050 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -61,6 +61,9 @@ def setup_iptables(): os.system(f"iptables -A OUTPUT -p tcp --dport {PORT} -j NFQUEUE --queue-num 10010") os.system(f"ip6tables -A OUTPUT -p tcp --dport {PORT} -j NFQUEUE --queue-num 10010") + os.system("iptables -L -v") + os.system("ip6tables -L -v") + def cleanup_iptables(): os.system(f"iptables -D OUTPUT -p tcp --dport {PORT} -j NFQUEUE --queue-num 10010")