[PATCH openEuler-5.10-LTS-SP1 212/263] selftests: Fix the if conditions of in test_extra_filter()