Lines Matching full:then
115 if $checksum; then
201 # It can be empty, no need to print anything then
229 if [ ${rc} = ${KSFT_PASS} ]; then
231 elif [ ${rc} = ${KSFT_SKIP} ]; then
254 if ! "${@}"; then
262 if [ "${#only_tests_ids[@]}" -eq 0 ] && [ "${#only_tests_names[@]}" -eq 0 ]; then
268 if [ "$((MPTCP_LIB_TEST_COUNTER+1))" -eq "${i}" ]; then
273 if [ "${TEST_NAME}" = "${i}" ]; then
283 if [ ${last_test_failed} -eq 1 ]; then
285 elif [ ${last_test_skipped} -eq 1 ]; then
287 elif [ ${last_test_ignored} -ne 1 ]; then
305 if skip_test; then
313 if [ "${init}" != "1" ]; then
331 if ! nstat -asz "${counter}" | grep -wq "${counter}"; then
357 if [ $ip -eq 6 ]; then
368 -j DROP; then
424 if [ $ip -eq 6 ]; then
457 if [ ${rc} -eq ${KSFT_SKIP} ]; then
490 -j "${target}"; then
499 if ! mptcp_lib_subtest_is_flaky; then
503 if [ ${#} -gt 0 ]; then
508 if [ ${last_test_failed} -eq 0 ]; then
533 if [ -n "$bytes" ]; then
537 if [ $out_size -ne $bytes ]; then
552 if [ $check_invert -eq 0 ] || [ $sum -ne $((0xff)) ]; then
572 if ! ip netns exec ${connector_ns} ping -q -c 1 $connect_addr >/dev/null; then
581 if [ -z "$FAILING_LINKS" ]; then
709 if [ -z "${id}" ]; then
731 if [ -n "${fullmesh}" ]; then
738 if [ $addr_nr_ns1 != "0" ] || [ $addr_nr_ns2 != "0" ]; then
742 if [ $addr_nr_ns1 -gt 0 ]; then
748 if mptcp_lib_is_v6 "${connect_addr}"; then
758 elif [ $addr_nr_ns1 -lt 0 ]; then
760 if [ $rm_nr_ns1 -lt 8 ]; then
770 if [ $i = "id" ]; then
771 if [ $counter -eq $rm_nr_ns1 ]; then
783 elif [ $rm_nr_ns1 -eq 8 ]; then
785 elif [ $rm_nr_ns1 -eq 9 ]; then
794 if [ $addr_nr_ns2 -gt 0 ]; then
800 if mptcp_lib_is_v6 "${connect_addr}"; then
810 elif [ $addr_nr_ns2 -lt 0 ]; then
812 if [ $rm_nr_ns2 -lt 8 ]; then
822 if [ $i = "id" ]; then
823 if [ $counter -eq $rm_nr_ns2 ]; then
838 elif [ $rm_nr_ns2 -eq 8 ]; then
840 elif [ $rm_nr_ns2 -eq 9 ]; then
842 if mptcp_lib_is_v6 "${connect_addr}"; then
851 if [ -n "${sflags}" ]; then
865 if [ $i = "id" ]; then
884 if [ -z "$count" ]; then
886 elif [ "$count" != "$cestab" ]; then
896 if [ -n "${cestab_ns1}" ]; then
899 if [ -n "${cestab_ns2}" ]; then
910 if $capture; then
912 if [ -z $SUDO_USER ]; then
930 if $capture; then
967 if [ $speed = "fast" ]; then
969 elif [ $speed = "slow" ]; then
971 elif [ $speed -gt 0 ]; then
978 if [ -n "${fastclose}" ]; then
979 if [ ${test_linkfail} -le 1 ]; then
988 if [ ${side} = "client" ]; then
991 elif [ ${side} = "server" ]; then
1001 if [ "$test_linkfail" -gt 1 ];then
1017 if [ "$test_linkfail" -eq 0 ];then
1022 elif [ "$test_linkfail" -eq 1 ] || [ "$test_linkfail" -eq 2 ];then
1053 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
1060 if [ "$test_linkfail" -gt 1 ];then
1066 if [ "$test_linkfail" -eq 0 ];then
1098 if [ "$test_linkfail" -gt 2 ]; then
1101 if [ -z "$cinfail" ]; then
1107 elif [ "$test_linkfail" -ne 0 ] && [ -z "$cinfail" ]; then
1120 if [ "$test_linkfail" -gt 2 ]; then
1123 if [ -z "$sinfail" ]; then
1127 elif [ "$test_linkfail" -eq 2 ] && [ -z "$sinfail" ]; then
1156 if [[ "${csum_ns1}" = "+"* ]]; then
1160 if [[ "${csum_ns2}" = "+"* ]]; then
1167 if [ -n "$count" ] && [ "$count" != "$csum_ns1" ]; then
1170 if [ -z "$count" ]; then
1173 { [ "$count" -lt $csum_ns1 ] && [ $allow_multi_errors_ns1 -eq 1 ]; }; then
1181 if [ -n "$count" ] && [ "$count" != "$csum_ns2" ]; then
1184 if [ -z "$count" ]; then
1187 { [ "$count" -lt $csum_ns2 ] && [ $allow_multi_errors_ns2 -eq 1 ]; }; then
1210 if [[ $ns_invert = "invert" ]]; then
1217 if [[ "${fail_tx}" = "-"* ]]; then
1221 if [[ "${fail_rx}" = "-"* ]]; then
1228 if [ -n "$count" ] && [ "$count" != "$fail_tx" ]; then
1231 if [ -z "$count" ]; then
1234 { [ "$count" -gt "$fail_tx" ] && [ $allow_tx_lost -eq 1 ]; }; then
1242 if [ -n "$count" ] && [ "$count" != "$fail_rx" ]; then
1245 if [ -z "$count" ]; then
1248 { [ "$count" -gt "$fail_rx" ] && [ $allow_rx_lost -eq 1 ]; }; then
1268 if [[ $ns_invert = "invert" ]]; then
1277 if [ -z "$count" ]; then
1279 elif [ "$count" != "$fclose_tx" ]; then
1287 if [ -z "$count" ]; then
1289 elif [ "$count" != "$fclose_rx" ]; then
1307 if [[ $ns_invert = "invert" ]]; then
1316 if [ -z "$count" ]; then
1320 { [ $rst_tx -eq 0 ] && [ $count -ne 0 ]; }; then
1328 if [ -z "$count" ]; then
1332 { [ $rst_rx -eq 0 ] && [ $count -ne 0 ]; }; then
1347 if [ -z "$count" ]; then
1349 elif [ "$count" != "$infi_tx" ]; then
1357 if [ -z "$count" ]; then
1359 elif [ "$count" != "$infi_rx" ]; then
1376 if [ -z "$count" ]; then
1378 elif [ "$count" != "$syn_tx" ]; then
1385 if [ -z "$count" ]; then
1387 elif [ "$count" != "$create" ]; then
1394 if [ -z "$count" ]; then
1396 elif [ "$count" != "$bind" ]; then
1403 if [ -z "$count" ]; then
1405 elif [ "$count" != "$connect" ]; then
1429 if [ -z "$count" ]; then
1431 elif [ "$count" != "$infinite_map_tx" ]; then
1438 if [ -z "$count" ]; then
1440 elif [ "$count" != "$dss_corruption" ]; then
1447 if [ -z "$count" ]; then
1449 elif [ "$count" != "$simult_conn" ]; then
1456 if [ -z "$count" ]; then
1458 elif [ "$count" != "$mpc_passive" ]; then
1465 if [ -z "$count" ]; then
1467 elif [ "$count" != "$mpc_active" ]; then
1474 if [ -z "$count" ]; then
1476 elif [ "$count" != "$mpc_data" ]; then
1483 if [ -z "$count" ]; then
1485 elif [ "$count" != "$md5_sig" ]; then
1492 if [ -z "$count" ]; then
1494 elif [ "$count" != "$dss" ]; then
1510 if [ -n "${!fb_ns[i]}" ]; then
1518 if [ "${rc}" != "${KSFT_PASS}" ]; then
1539 if [ "${corrupted_pkts}" -gt 0 ]; then
1544 if [ -z "$count" ]; then
1546 elif [ "$count" != "$syn_nr" ]; then
1554 if [ -z "$count" ]; then
1556 elif [ "$count" != "$syn_ack_nr" ]; then
1560 if [ "$with_cookie" != 2 ] || [ "$count" -le "$syn_ack_nr" ] || [ "$count" -gt "$syn_nr" ]; then
1568 if [ -z "$count" ]; then
1570 elif [ "$count" != "0" ]; then
1577 if [ -z "$count" ]; then
1579 elif [ "$count" != "$ack_nr" ]; then
1586 if [ -z "$count" ]; then
1588 elif [ "$count" != "0" ]; then
1595 if [ -z "$count" ]; then
1597 elif [ "$count" != "$syn_rej" ]; then
1610 if $validate_checksum; then
1637 if [ -z "$stale_nr" ] || [ -z "$recover_nr" ]; then
1641 [ $((stale_nr - recover_nr)) -ne $stale_delta ]; then
1650 if [ "${dump_stats}" = 1 ]; then
1674 if [[ $ns_invert = "invert" ]]; then
1683 if [ -z "$count" ]; then
1685 # Tolerate more ADD_ADDR then expected (if any), due to retransmissions
1687 { [ "$add_nr" -eq 0 ] || [ "$count" -lt "$add_nr" ]; }; then
1695 if [ -z "$count" ]; then
1697 elif [ "$count" != "$echo_nr" ]; then
1703 if [ $port_nr -gt 0 ]; then
1706 if [ -z "$count" ]; then
1708 elif [ "$count" != "$port_nr" ]; then
1716 if [ -z "$count" ]; then
1718 elif [ "$count" != "$syn_nr" ]; then
1727 if [ -z "$count" ]; then
1729 elif [ "$count" != "$syn_ack_nr" ]; then
1738 if [ -z "$count" ]; then
1740 elif [ "$count" != "$ack_nr" ]; then
1749 if [ -z "$count" ]; then
1751 elif [ "$count" != "$mis_syn_nr" ]; then
1760 if [ -z "$count" ]; then
1762 elif [ "$count" != "$mis_ack_nr" ]; then
1779 if [ -z "$count" ]; then
1781 # Tolerate more ADD_ADDR then expected (if any), due to retransmissions
1783 { [ "$add_tx_nr" -eq 0 ] || [ "$count" -lt "$add_tx_nr" ]; }; then
1791 if [ -z "$count" ]; then
1793 elif [ "$count" != "$echo_tx_nr" ]; then
1820 if [ "$invert" = "true" ]; then
1829 if [ -z "$count" ]; then
1831 elif [ "$count" != "$rm_addr_nr" ]; then
1839 if [ -z "$count" ]; then
1841 elif [ -n "$simult" ]; then
1849 if [ "$count" != "$rm_subflow_nr" ]; then
1854 [ "$count" -le "$((rm_subflow_nr *2 ))" ]; then
1859 elif [ "$count" != "$rm_subflow_nr" ]; then
1874 if [ -z "$count" ]; then
1876 elif [ "$count" != "$rm_addr_tx_nr" ]; then
1893 if [ -z "$count" ]; then
1895 elif [ "$count" != "$mp_prio_nr_tx" ]; then
1903 if [ -z "$count" ]; then
1905 elif [ "$count" != "$mp_prio_nr_rx" ]; then
1913 if [ -z "$count" ]; then
1915 elif [ "$count" != "$mpj_syn" ]; then
1923 if [ -z "$count" ]; then
1925 elif [ "$count" != "$mpj_syn_ack" ]; then
1944 if [ "$cnt1" != "$subflow_nr" ] || [ "$cnt2" != "$subflow_nr" ]; then
1951 if [ "${dump_stats}" = 1 ]; then
1976 if [ "$cnt1" != "$exp1" ] || [ "$cnt2" != "$exp2" ]; then
1983 if [ "$dump_stats" = 1 ]; then
1999 if [ -n "$(ss -N $ns1 -inmHM | mptcp_lib_get_info_value $info $info)" ]; then
2012 if [ "$1" != "$cnt1" ] || [ "$2" != "$cnt2" ]; then
2019 if [ "$dump_stats" = 1 ]; then
2040 [ $tx_rate -gt $((expected_rate + tolerance)) ]; then
2074 if reset "no JOIN"; then
2080 if reset "single subflow, limited by client"; then
2089 if reset "single subflow, limited by server"; then
2099 if reset "single subflow"; then
2108 if reset "multiple subflows"; then
2118 if reset "multiple subflows, limited by server"; then
2129 if reset "single subflow, dev"; then
2142 if reset "no MPC reuse with single endpoint"; then
2155 continue_if mptcp_lib_kallsyms_has "mptcp_pm_subflow_check_next$"; then
2168 continue_if mptcp_lib_kallsyms_has "mptcp_pm_subflow_check_next$"; then
2183 continue_if mptcp_lib_kallsyms_has "mptcp_pm_subflow_check_next$"; then
2205 if reset "unused signal address"; then
2214 if reset "signal address"; then
2227 if reset "subflow and signal"; then
2240 if reset "subflow and signal together"; then
2253 if reset "multiple subflows and signal"; then
2265 if reset "signal addresses"; then
2278 if reset "signal invalid addresses"; then
2292 if reset "signal addresses race test"; then
2311 if ! mptcp_lib_kallsyms_has "mptcp_pm_subflow_check_next$"; then
2327 mptcp_lib_kallsyms_has "mptcp_pm_get_endp_laminar_max$"; then
2339 mptcp_lib_kallsyms_has "mptcp_pm_get_endp_laminar_max$"; then
2351 mptcp_lib_kallsyms_has "mptcp_pm_get_endp_laminar_max$"; then
2366 mptcp_lib_kallsyms_has "mptcp_pm_get_endp_laminar_max$"; then
2379 mptcp_lib_kallsyms_has "mptcp_pm_get_endp_laminar_max$"; then
2394 if reset "multiple flows, signal, link failure"; then
2416 if reset "multi flows, signal, bidi, link fail"; then
2432 if reset "backup subflow unused, link failure"; then
2447 if reset "backup flow used, multi links fail"; then
2463 if reset "backup flow used, bidi, link failure"; then
2481 if reset_with_add_addr_timeout "signal address, ADD_ADDR timeout"; then
2493 if reset_with_add_addr_timeout "signal address, ADD_ADDR6 timeout" 6; then
2504 if reset_with_add_addr_timeout "signal addresses, ADD_ADDR timeout"; then
2516 if reset_with_add_addr_timeout "invalid address, ADD_ADDR timeout"; then
2532 if reset "remove single subflow"; then
2545 if reset "remove multiple subflows"; then
2558 if reset "remove single address"; then
2571 if reset "remove subflow and signal"; then
2585 if reset "remove subflows and signal"; then
2600 if reset "remove addresses"; then
2615 if reset "remove invalid addresses"; then
2632 if reset "flush subflows and signal"; then
2647 if reset "flush subflows"; then
2657 if mptcp_lib_kversion_ge 5.18; then
2667 if reset "flush addresses"; then
2682 if reset "flush invalid addresses"; then
2698 if reset "remove id 0 subflow"; then
2710 if reset "remove id 0 address"; then
2726 if reset "add single subflow"; then
2736 if reset "add signal address"; then
2747 if reset "add multiple subflows"; then
2757 if reset "add multiple subflows IPv6"; then
2767 if reset "add multiple addresses IPv6"; then
2781 if reset "single subflow IPv6"; then
2791 if reset "unused signal address IPv6"; then
2800 if reset "single address IPv6"; then
2811 if reset "remove single address IPv6"; then
2823 if reset "remove subflow and signal IPv6"; then
2839 if reset "single subflow IPv4-mapped"; then
2848 if reset "signal address IPv4-mapped"; then
2858 if reset "single subflow v4-map-v6"; then
2867 if reset "signal address v4-map-v6"; then
2877 if reset "single subflow v6-map-v4"; then
2886 if reset "signal address v6-map-v4"; then
2896 if reset "no JOIN with diff families v4-v6"; then
2905 if reset "no JOIN with diff families v4-v6-2"; then
2913 # no subflow IPv4 to v6 address, no need to slow down too then
2914 if reset "no JOIN with diff families v6-v4"; then
2926 continue_if mptcp_lib_kversion_ge 6.3; then
2937 continue_if mptcp_lib_kversion_ge 6.3; then
2948 continue_if mptcp_lib_kversion_ge 6.3; then
2961 continue_if mptcp_lib_kversion_ge 6.3; then
2976 continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
2988 continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3001 continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3014 continue_if mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3026 continue_if mptcp_lib_kallsyms_doesnt_have "T mptcp_subflow_send_ack$"; then
3035 continue_if mptcp_lib_kallsyms_doesnt_have "T mptcp_subflow_send_ack$"; then
3054 continue_if mptcp_lib_kallsyms_doesnt_have "T mptcp_subflow_send_ack$"; then
3063 continue_if mptcp_lib_kallsyms_doesnt_have "T mptcp_subflow_send_ack$"; then
3080 if [ $e_type = $MPTCP_LIB_EVENT_LISTENER_CREATED ]; then
3082 elif [ $e_type = $MPTCP_LIB_EVENT_LISTENER_CLOSED ]; then
3090 if ! mptcp_lib_kallsyms_has "mptcp_event_pm_listener$"; then
3095 if mptcp_lib_verify_listener_events "${@}"; then
3109 if [ ${retl} = 124 ]; then
3111 elif [ ${retl} = 0 ]; then
3118 if [ -z "$count" ]; then
3120 elif [ "$count" != "$attempts" ]; then
3131 if reset "signal address with port"; then
3141 if reset "subflow and signal with port"; then
3153 if reset_with_events "remove single address with port"; then
3171 if reset "remove subflow and signal with port"; then
3184 if reset "flush subflows and signal with port"; then
3198 if reset "multiple addresses with port"; then
3209 if reset "multiple addresses with ports"; then
3219 if reset "port-based signal endpoint must not accept mpc"; then
3239 if reset_with_cookies "single subflow with syn cookies"; then
3248 if reset_with_cookies "multiple subflows with syn cookies"; then
3258 if reset_with_cookies "subflows limited by server w cookies"; then
3269 if reset_with_cookies "signal address with syn cookies"; then
3279 if reset_with_cookies "subflow and signal w cookies"; then
3290 if reset_with_cookies "subflows and signal w. cookies"; then
3307 if reset_with_checksum ${checksum_enable}; then
3319 if reset_with_allow_join_id0 "single subflow allow join id0 ns1" 1 0; then
3328 if reset_with_allow_join_id0 "single subflow allow join id0 ns2" 0 1; then
3338 if reset_with_allow_join_id0 "signal address allow join id0 ns1" 1 0; then
3349 if reset_with_allow_join_id0 "signal address allow join id0 ns2" 0 1; then
3359 if reset_with_allow_join_id0 "subflow and address allow join id0 1" 1 0; then
3369 if reset_with_allow_join_id0 "subflow and address allow join id0 2" 0 1; then
3379 if reset_with_allow_join_id0 "default limits, server deny join id 0" 0 1; then
3395 if reset "fullmesh test 2x1"; then
3409 if reset "fullmesh test 1x1"; then
3413 if mptcp_lib_kallsyms_has "mptcp_pm_subflow_check_next$"; then
3425 if reset "fullmesh test 1x2"; then
3439 if reset "fullmesh test 1x2, limited"; then
3451 continue_if mptcp_lib_kversion_ge 5.18; then
3463 continue_if mptcp_lib_kversion_ge 5.18; then
3475 continue_if mptcp_lib_kversion_ge 5.18; then
3488 continue_if mptcp_lib_kversion_ge 5.18; then
3502 if reset_check_counter "fastclose test" "MPTcpExtMPFastcloseTx"; then
3511 if reset_check_counter "fastclose server test" "MPTcpExtMPFastcloseRx"; then
3531 if reset_with_fail "Infinite map" 1; then
3544 if reset_with_fail "MP_FAIL MP_RST" 2; then
3634 if [ ${rc} -eq 2 ]; then
3636 elif [ ${rc} -eq 0 ]; then
3638 elif [ ${rc} -eq 1 ]; then
3675 if mptcp_lib_kallsyms_has "mptcp_userspace_pm_dump_addr$"; then
3690 if mptcp_lib_kallsyms_has "mptcp_userspace_pm_get_addr$"; then
3714 ! mptcp_lib_kallsyms_has "mptcp_event_pm_listener$"; then
3720 if [ "${count}" != "${exp}" ]; then
3731 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3743 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3755 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3767 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3778 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3792 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3806 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3839 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3867 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3888 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3912 continue_if mptcp_lib_has_file '/proc/sys/net/mptcp/pm_type'; then
3942 mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
3967 mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
4043 mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
4118 mptcp_lib_kallsyms_has "subflow_rebuild_header$"; then
4152 if [ -n "${1}" ]; then
4238 if [[ "${arg}" =~ ^[0-9]+$ ]]; then
4245 if [ ${#tests[@]} -eq 0 ]; then
4255 if [ ${ret} -ne 0 ]; then