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 DB21AC4AA for ; Fri, 23 Oct 2015 08:43:23 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 22 Oct 2015 23:43:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833217613" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga002.jf.intel.com with ESMTP; 22 Oct 2015 23:43:22 -0700 From: "xu,huilong" To: dts@dpdk.org Date: Fri, 23 Oct 2015 14:39:00 +0800 Message-Id: <1445582340-41116-2-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1445582340-41116-1-git-send-email-huilongx.xu@intel.com> References: <1445582340-41116-1-git-send-email-huilongx.xu@intel.com> Subject: [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 06:43:24 -0000 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) -- 1.9.3