[LTP] [PATCH 2/2] broken_ip: TCONF when test run on unsupported protocol

Petr Vorel pvorel@suse.cz
Tue Aug 3 18:22:04 CEST 2021


Hi Alexey,

> --- testcases/network/stress/broken_ip/broken_ip-checksum
> +++ testcases/network/stress/broken_ip/broken_ip-checksum
> @@ -10,7 +10,10 @@ TST_TESTFUNC="do_test"

>  do_test()
>  {
> -	tst_res TINFO "Sending ICMPv$TST_IPVER with wrong chksum field for $NS_DURATION sec"
> +	TST_IPV6=
> +	TST_IPVER=4
> +
> +	tst_res TINFO "Sending ICMPv4 with wrong chksum field for $NS_DURATION sec"
>  	tst_icmp -t $NS_DURATION -s "0 100 500 1000 $NS_ICMP_SENDER_DATA_MAXSIZE" -c
>  	tst_ping
>  }

FYI merged commit which implements this.

Kind regards,
Petr


More information about the ltp mailing list