[dts] [PATCH V1] tests/TestSuite_ieee1588:change tester session to new session

Ma, LihongX lihongx.ma at intel.com
Tue Sep 22 09:26:29 CEST 2020


Hi, xi
Can you check this patch ? I can not find the code from latest dts.

Regards,
Ma,lihong

> 
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index f15f3bd..74bc35d 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -105,9 +105,6 @@ class TestIeee1588(TestCase):
>          out = self.send_session.get_session_before(timeout=20)
>          self.send_session.send_expect("^C", "# ", 20)
>          self.send_session.close()
> -        out = self.send_session.get_session_output(timeout=20)
> -        self.send_session.send_expect("^C", "# ", 20)
> -        self.send_session.close()
> 
> 
>          self.verify("0x88f7" in out, "Ether type is not PTP")
> --
> 1.8.3.1



More information about the dts mailing list