From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A9412C458 for ; Fri, 23 Oct 2015 09:38:12 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 23 Oct 2015 00:38:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833250791" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 23 Oct 2015 00:38:11 -0700 Message-ID: <5629E46E.3010904@intel.com> Date: Fri, 23 Oct 2015 15:40:30 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,huilong" , dts@dpdk.org References: <1445582340-41116-1-git-send-email-huilongx.xu@intel.com> <1445582340-41116-2-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1445582340-41116-2-git-send-email-huilongx.xu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] fix cannot get output bug of ieee1588 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 07:38:13 -0000 Applied, thanks. On 10/23/2015 02:39 PM, xu,huilong wrote: > From: haifeng > > Signed-off-by: haifeng > --- > 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)