[dts] [PATCH] get packet's content in pmdrssreta
Liu, Yong
yong.liu at intel.com
Mon Jul 25 10:41:25 CEST 2016
Thanks, applied.
On 07/18/2016 07:24 PM, pengyuan wrote:
> Signed-off-by: pengyuan <yuan.peng at intel.com>
>
> diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
> index 6445330..653f8c0 100644
> --- a/tests/TestSuite_pmdrssreta.py
> +++ b/tests/TestSuite_pmdrssreta.py
> @@ -104,8 +104,8 @@ class TestPmdrssreta(TestCase):
> time.sleep(.5)
> else:
> print "\ntran_type error!\n"
> -
> - out = self.dut.send_expect("stop", "testpmd>")
> + out = self.dut.get_session_output(timeout=1)
> + self.dut.send_expect("stop", "testpmd>")
> lines = out.split("\r\n")
> reta_line = {}
>
More information about the dts
mailing list