The commit is pushed to "vz10.kselftest.net-forwarding" and will appear at 
[email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.3.26.vz10
------>
commit 71356bdb0ee148694a635f7ca88fe6c3facce428
Author: Aleksei Oladko <[email protected]>
Date:   Mon Dec 22 19:48:42 2025 +0000

    selftests: tc_flower_cfm.sh: skip tests if tools or feats are missing
    
    The tc_flower_cfm.sh selftest assume the presence of iproute2
    support for the `cfm` keyword in `tc filter` commands. These
    assumptions can cause test failures.
    
    This patch improves test robustness by skipping the test if
    tc filter help does not mention CFM
    
    https://virtuozzo.atlassian.net/browse/VSTOR-121418
    
    Signed-off-by: Aleksei Oladko <[email protected]>
---
 tools/testing/selftests/net/forwarding/tc_flower_cfm.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh 
b/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh
index 3ca20df952ebf..65f95fe88b38c 100755
--- a/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh
+++ b/tools/testing/selftests/net/forwarding/tc_flower_cfm.sh
@@ -196,6 +196,8 @@ cleanup()
        vrf_cleanup
 }
 
+run_cmd_grep 'CFM' tc filter add dev lo ingress flower help || exit $ksft_skip
+
 trap cleanup EXIT
 
 setup_prepare
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to