From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B62F6C458 for ; Fri, 23 Oct 2015 09:37:58 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 23 Oct 2015 00:37:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833250569" 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:37:57 -0700 Message-ID: <5629E460.9060605@intel.com> Date: Fri, 23 Oct 2015 15:40:16 +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> In-Reply-To: <1445582340-41116-1-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 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 07:37:59 -0000 Applied, thanks. On 10/23/2015 02:38 PM, xu,huilong wrote: > 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+)')