[dts] [PATCH V2 1/5] fix TestSuite ieee1588
Liu, Yong
yong.liu at intel.com
Thu Sep 22 03:28:18 CEST 2016
Hi gang, these patches have no relationships to each other. There's no
need to create one patch set for them. You can send patches out one by one.
If scapy sniff function is not stable, you can try to use packet module
for packet sniff. Again, we need the root cause of this issue.
On 09/21/2016 06:18 PM, xu,gang wrote:
> wait for subprocess end in scapy_execute()
>
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
> tests/TestSuite_ieee1588.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index bfbb23b..7976c9f 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -92,6 +92,7 @@ class TestIeee1588(TestCase):
> self.tester.scapy_append('time.sleep(1)')
>
> self.tester.scapy_execute()
> + time.sleep(10)
> out = self.tester.scapy_get_result()
> self.verify("0x88f7" in out, "Ether type is not PTP")
> # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
More information about the dts
mailing list