On Wed, Jan 13, 2016 at 06:46:57PM +0200, Ivan Khoronzhuk wrote: > If packet with size > MTU is sent the test can crash farther, > so better to stop here. > > Signed-off-by: Ivan Khoronzhuk <ivan.khoronz...@linaro.org>
Signed-off-by: Stuart Haslam <stuart.has...@linaro.org> > --- > test/validation/pktio/pktio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c > index 8121f1e..45c11c5 100644 > --- a/test/validation/pktio/pktio.c > +++ b/test/validation/pktio/pktio.c > @@ -968,7 +968,7 @@ void pktio_test_send_failure(void) > * the initial short packets should be sent successfully */ > odp_errno_zero(); > ret = odp_pktio_send(pktio_tx, pkt_tbl, TX_BATCH_LEN); > - CU_ASSERT(ret == long_pkt_idx); > + CU_ASSERT_FATAL(ret == long_pkt_idx); > CU_ASSERT(odp_errno() == 0); > > info_rx.id = pktio_rx; > -- > 1.9.1 > _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp