Lines Matching full:then
76 if [ $checksum -eq 1 ]; then
130 if ! ip -Version &> /dev/null; then
135 if ! iptables -V &> /dev/null; then
140 if ! ip6tables -V &> /dev/null; then
172 if [ "${#only_tests_ids[@]}" -eq 0 ] && [ "${#only_tests_names[@]}" -eq 0 ]; then
178 if [ "${TEST_COUNT}" -eq "${i}" ]; then
183 if [ "${TEST_NAME}" = "${i}" ]; then
198 if skip_test; then
202 if [ "${init}" != "1" ]; then
233 if [ $ip -eq 6 ]; then
300 if [ $ip -eq 6 ]; then
353 if [ -n "$bytes" ]; then
356 if [ $out_size -ne $bytes ]; then
365 if [ $check_invert -eq 0 ] || [ $sum -ne $((0xff)) ]; then
386 if ! ip netns exec ${connector_ns} ping -q -c 1 $connect_addr >/dev/null; then
396 if [ -z "$FAILING_LINKS" ]; then
481 if [ $ip_mptcp -eq 1 ]; then
501 if [ $p = "flags" ]; then
505 if [ $p = "dev" ]; then
509 if [ $p = "id" ]; then
513 if [ $p = "port" ]; then
521 if [ $ip_mptcp -eq 1 ]; then
534 if [ $ip_mptcp -eq 1 ]; then
545 if [ $ip_mptcp -eq 1 ]; then
556 if [ $ip_mptcp -eq 1 ]; then
569 if [ $ip_mptcp -eq 1 ]; then
591 if [ "${need_title}" = 1 ]; then
599 if [ $1 = "flags" ]; then
603 elif [ $1 = "dev" ]; then
606 elif [ $1 = "id" ]; then
610 elif [ $1 = "port" ]; then
619 if [ -z "$id" ]; then
624 if [ $ip_mptcp -eq 1 ]; then
642 if [ "$line" = "$expected_line" ]; then
684 if [ $capture -eq 1 ]; then
686 if [ -z $SUDO_USER ] ; then
707 if [ $speed = "fast" ]; then
709 elif [ $speed = "slow" ]; then
711 elif [[ $speed = "speed_"* ]]; then
715 if [[ "${addr_nr_ns1}" = "userspace_"* ]]; then
724 if [[ "${addr_nr_ns2}" = "fastclose_"* ]]; then
725 if [ ${test_link_fail} -le 1 ]; then
735 if [ ${side} = "client" ]; then
738 elif [ ${side} = "server" ]; then
747 elif [[ "${addr_nr_ns2}" = "userspace_"* ]]; then
750 elif [[ "${addr_nr_ns2}" = "fullmesh_"* ]]; then
755 if [ $userspace_pm -eq 1 ]; then
767 if is_v6 "${connect_addr}"; then
774 if [ "$test_link_fail" -gt 1 ];then
790 if [ "$test_link_fail" -eq 0 ];then
795 elif [ "$test_link_fail" -eq 1 ] || [ "$test_link_fail" -eq 2 ];then
813 if [ $addr_nr_ns1 != "0" ] || [ $addr_nr_ns2 != "0" ]; then
817 if [ $addr_nr_ns1 -gt 0 ]; then
824 if is_v6 "${connect_addr}"; then
829 if [ $userspace_pm -eq 0 ]; then
842 elif [ $addr_nr_ns1 -lt 0 ]; then
844 if [ $rm_nr_ns1 -lt 8 ]; then
854 if [ $i = "id" ]; then
855 if [ $counter -eq $rm_nr_ns1 ]; then
867 elif [ $rm_nr_ns1 -eq 8 ]; then
869 elif [ $rm_nr_ns1 -eq 9 ]; then
878 if [ $addr_nr_ns2 -gt 0 ]; then
885 if is_v6 "${connect_addr}"; then
890 if [ $userspace_pm -eq 0 ]; then
908 elif [ $addr_nr_ns2 -lt 0 ]; then
910 if [ $rm_nr_ns2 -lt 8 ]; then
920 if [ $i = "id" ]; then
921 if [ $counter -eq $rm_nr_ns2 ]; then
936 elif [ $rm_nr_ns2 -eq 8 ]; then
938 elif [ $rm_nr_ns2 -eq 9 ]; then
940 if is_v6 "${connect_addr}"; then
949 if [ -n "${sflags}" ]; then
963 if [ $i = "id" ]; then
978 if [ $capture -eq 1 ]; then
983 if [ $userspace_pm -eq 1 ]; then
994 if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then
1008 if [ "$test_link_fail" -gt 1 ];then
1014 if [ "$test_link_fail" -eq 0 ];then
1021 if [ $retc -eq 0 ] && [ $rets -eq 0 ];then
1057 if [ "$test_linkfail" -gt 2 ]; then
1060 if [ -z "$cinfail" ]; then
1066 elif [ "$test_linkfail" -ne 0 ] && [ -z "$cinfail" ]; then
1079 if [ "$test_linkfail" -gt 2 ]; then
1082 if [ -z "$sinfail" ]; then
1086 elif [ "$test_linkfail" -eq 2 ] && [ -z "$sinfail" ]; then
1117 if [[ "${csum_ns1}" = "+"* ]]; then
1121 if [[ "${csum_ns2}" = "+"* ]]; then
1129 if [ "$count" != "$csum_ns1" ]; then
1133 { [ "$count" -lt $csum_ns1 ] && [ $allow_multi_errors_ns1 -eq 1 ]; }; then
1143 if [ "$count" != "$csum_ns2" ]; then
1147 { [ "$count" -lt $csum_ns2 ] && [ $allow_multi_errors_ns2 -eq 1 ]; }; then
1172 if [[ $ns_invert = "invert" ]]; then
1178 if [[ "${fail_tx}" = "-"* ]]; then
1182 if [[ "${fail_rx}" = "-"* ]]; then
1190 if [ "$count" != "$fail_tx" ]; then
1194 { [ "$count" -gt "$fail_tx" ] && [ $allow_tx_lost -eq 1 ]; }; then
1205 if [ "$count" != "$fail_rx" ]; then
1209 { [ "$count" -gt "$fail_rx" ] && [ $allow_rx_lost -eq 1 ]; }; then
1233 if [[ $ns_invert = "invert" ]]; then
1243 if [ "$count" != "$fclose_tx" ]; then
1255 if [ "$count" != "$fclose_rx" ]; then
1279 if [[ $ns_invert = "invert" ]]; then
1288 if [ $count -lt $rst_tx ]; then
1299 if [ "$count" -lt "$rst_rx" ]; then
1322 if [ "$count" != "$infi_tx" ]; then
1333 if [ "$count" != "$infi_rx" ]; then
1360 if [ "${corrupted_pkts}" -gt 0 ]; then
1367 if [ "$count" != "$syn_nr" ]; then
1379 if [ "$count" != "$syn_ack_nr" ]; then
1383 if [ "$with_cookie" = 2 ] && [ "$count" -gt "$syn_ack_nr" ] && [ "$count" -le "$syn_nr" ]; then
1397 if [ "$count" != "$ack_nr" ]; then
1405 if [ $validate_checksum -eq 1 ]; then
1436 [ $((stale_nr - recover_nr)) -ne $stale_delta ]; then
1446 if [ "${dump_stats}" = 1 ]; then
1473 # if the test configured a short timeout tolerate greater then expected
1475 if [ "$count" != "$add_nr" ] && { [ "$timeout" -gt 1 ] || [ "$count" -lt "$add_nr" ]; }; then
1486 if [ "$count" != "$echo_nr" ]; then
1494 if [ $port_nr -gt 0 ]; then
1498 if [ "$count" != "$port_nr" ]; then
1510 if [ "$count" != "$syn_nr" ]; then
1523 if [ "$count" != "$syn_ack_nr" ]; then
1536 if [ "$count" != "$ack_nr" ]; then
1549 if [ "$count" != "$mis_syn_nr" ]; then
1562 if [ "$count" != "$mis_ack_nr" ]; then
1596 if [ -z $invert ]; then
1599 elif [ $invert = "true" ]; then
1608 if [ "$count" != "$rm_addr_nr" ]; then
1619 if [ -n "$simult" ]; then
1630 [ "$count" -le "$((rm_subflow_nr *2 ))" ]; then
1639 if [ "$count" != "$rm_subflow_nr" ]; then
1662 if [ "$count" != "$mp_prio_nr_tx" ]; then
1673 if [ "$count" != "$mp_prio_nr_rx" ]; then
1692 if [ -n "${need_title}" ]; then
1700 if [ "$cnt1" != "$subflow_nr" -o "$cnt2" != "$subflow_nr" ]; then
1726 [ $tx_rate -gt $((expected_rate + tolerance)) ]; then
1761 if reset "no JOIN"; then
1767 if reset "single subflow, limited by client"; then
1776 if reset "single subflow, limited by server"; then
1785 if reset "single subflow"; then
1794 if reset "multiple subflows"; then
1804 if reset "multiple subflows, limited by server"; then
1814 if reset "single subflow, dev"; then
1827 if reset "no MPC reuse with single endpoint"; then
1836 if reset "multi subflows, with failing subflow"; then
1847 if reset "multi subflows, with subflow timeout"; then
1860 if reset "multi subflows, fair usage on close"; then
1881 if reset "unused signal address"; then
1889 if reset "signal address"; then
1902 if reset "subflow and signal"; then
1913 if reset "multiple subflows and signal"; then
1925 if reset "signal addresses"; then
1937 if reset "signal invalid addresses"; then
1949 if reset "signal addresses race test"; then
1975 if reset "multiple flows, signal, link failure"; then
1996 if reset "multi flows, signal, bidi, link fail"; then
2011 if reset "backup subflow unused, link failure"; then
2026 if reset "backup flow used, multi links fail"; then
2042 if reset "backup flow used, bidi, link failure"; then
2060 if reset_with_add_addr_timeout "signal address, ADD_ADDR timeout"; then
2070 if reset_with_add_addr_timeout "signal address, ADD_ADDR6 timeout" 6; then
2080 if reset_with_add_addr_timeout "signal addresses, ADD_ADDR timeout"; then
2091 if reset_with_add_addr_timeout "invalid address, ADD_ADDR timeout"; then
2105 if reset "remove single subflow"; then
2115 if reset "remove multiple subflows"; then
2126 if reset "remove single address"; then
2137 if reset "remove subflow and signal"; then
2149 if reset "remove subflows and signal"; then
2162 if reset "remove addresses"; then
2175 if reset "remove invalid addresses"; then
2188 if reset "flush subflows and signal"; then
2201 if reset "flush subflows"; then
2213 if reset "flush addresses"; then
2226 if reset "flush invalid addresses"; then
2239 if reset "remove id 0 subflow"; then
2249 if reset "remove id 0 address"; then
2263 if reset "add single subflow"; then
2271 if reset "add signal address"; then
2280 if reset "add multiple subflows"; then
2288 if reset "add multiple subflows IPv6"; then
2296 if reset "add multiple addresses IPv6"; then
2308 if reset "single subflow IPv6"; then
2317 if reset "unused signal address IPv6"; then
2325 if reset "single address IPv6"; then
2335 if reset "remove single address IPv6"; then
2346 if reset "remove subflow and signal IPv6"; then
2361 if reset "single subflow IPv4-mapped"; then
2370 if reset "signal address IPv4-mapped"; then
2380 if reset "single subflow v4-map-v6"; then
2389 if reset "signal address v4-map-v6"; then
2399 if reset "single subflow v6-map-v4"; then
2408 if reset "signal address v6-map-v4"; then
2418 if reset "no JOIN with diff families v4-v6"; then
2427 if reset "no JOIN with diff families v4-v6-2"; then
2435 # no subflow IPv4 to v6 address, no need to slow down too then
2436 if reset "no JOIN with diff families v6-v4"; then
2448 if reset "single subflow, backup"; then
2458 if reset "single address, backup"; then
2469 if reset "single address with port, backup"; then
2479 if reset "mpc backup"; then
2486 if reset "mpc backup both sides"; then
2494 if reset "mpc switch to backup"; then
2501 if reset "mpc switch to backup both sides"; then
2513 if reset "signal address with port"; then
2523 if reset "subflow and signal with port"; then
2534 if reset "remove single address with port"; then
2545 if reset "remove subflow and signal with port"; then
2557 if reset "flush subflows and signal with port"; then
2570 if reset "multiple addresses with port"; then
2581 if reset "multiple addresses with ports"; then
2595 if reset_with_cookies "single subflow with syn cookies"; then
2604 if reset_with_cookies "multiple subflows with syn cookies"; then
2614 if reset_with_cookies "subflows limited by server w cookies"; then
2624 if reset_with_cookies "signal address with syn cookies"; then
2634 if reset_with_cookies "subflow and signal w cookies"; then
2645 if reset_with_cookies "subflows and signal w. cookies"; then
2660 if reset_with_checksum 0 0; then
2668 if reset_with_checksum 1 1; then
2676 if reset_with_checksum 0 1; then
2684 if reset_with_checksum 1 0; then
2695 if reset_with_allow_join_id0 "single subflow allow join id0 ns1" 1 0; then
2704 if reset_with_allow_join_id0 "single subflow allow join id0 ns2" 0 1; then
2714 if reset_with_allow_join_id0 "signal address allow join id0 ns1" 1 0; then
2725 if reset_with_allow_join_id0 "signal address allow join id0 ns2" 0 1; then
2735 if reset_with_allow_join_id0 "subflow and address allow join id0 1" 1 0; then
2745 if reset_with_allow_join_id0 "subflow and address allow join id0 2" 0 1; then
2760 if reset "fullmesh test 2x1"; then
2773 if reset "fullmesh test 1x1"; then
2785 if reset "fullmesh test 1x2"; then
2798 if reset "fullmesh test 1x2, limited"; then
2808 if reset "set fullmesh flag test"; then
2818 if reset "set nofullmesh flag test"; then
2828 if reset "set backup,fullmesh flags test"; then
2839 if reset "set nobackup,nofullmesh flags test"; then
2852 if reset "fastclose test"; then
2859 if reset "fastclose server test"; then
2877 if reset_with_fail "Infinite map" 1; then
2884 if reset_with_fail "MP_FAIL MP_RST" 2; then
2897 if reset "userspace pm type prevents add_addr"; then
2908 if reset "userspace pm no echo w/o daemon"; then
2919 if reset "userspace pm type rejects join"; then
2929 if reset "userspace pm type does not send join"; then
2939 if reset "userspace pm type prevents mp_prio"; then
2950 if reset "userspace pm type prevents rm_addr"; then
2962 if reset "userspace pm add & remove address"; then
2972 if reset "userspace pm create destroy subflow"; then
2984 if reset "implicit EP"; then
3004 if reset "delete and re-add"; then
3025 if [ -n "${1}" ]; then
3109 if [[ "${arg}" =~ ^[0-9]+$ ]]; then
3116 if [ ${#tests[@]} -eq 0 ]; then
3124 if [ ${ret} -ne 0 ]; then