[dts] [PATCH] fix cannot get output bug of ieee1588
Liu, Yong
yong.liu at intel.com
Fri Oct 23 09:40:30 CEST 2015
Applied, thanks.
On 10/23/2015 02:39 PM, xu,huilong wrote:
> From: haifeng <haifengx.tang at intel.com>
>
> Signed-off-by: haifeng <haifengx.tang at intel.com>
> ---
> tests/TestSuite_ieee1588.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index e23f8fb..723ca40 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -99,7 +99,8 @@ class TestIeee1588(TestCase):
> # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
>
> time.sleep(1)
> - out = self.dut.send_expect("stop", "testpmd> ")
> + out = self.dut.get_session_output()
> + self.dut.send_expect("stop", "testpmd> ")
>
> text = dts.regexp(out, "(.*) by hardware")
> self.verify("IEEE1588 PTP V2 SYNC" in text, "Not filtered " + text)
More information about the dts
mailing list