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 48776C4AA 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:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833217603" 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:21 -0700 From: "xu,huilong" To: dts@dpdk.org Date: Fri, 23 Oct 2015 14:38:59 +0800 Message-Id: <1445582340-41116-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] fix cannot get output bug of timer 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:23 -0000 From: haifeng Signed-off-by: haifeng --- tests/TestSuite_timer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py index 7b88d56..765770d 100644 --- a/tests/TestSuite_timer.py +++ b/tests/TestSuite_timer.py @@ -76,7 +76,8 @@ class TestTimer(TestCase): self.dut.send_expect(cmdline, "# ", 1) time.sleep(15) - out = self.dut.send_expect("killall timer", "# ", 5) + out = self.dut.get_session_output() + self.dut.send_expect("killall timer", "# ", 5) # verify timer0 dts.regexp(out, r'timer0_cb\(\) on lcore (\d+)') -- 1.9.3