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 277A2C3C6 for ; Fri, 23 Oct 2015 07:45:38 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 22 Oct 2015 22:45:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,185,1444719600"; d="scan'208";a="833609726" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga002.fm.intel.com with ESMTP; 22 Oct 2015 22:45:36 -0700 Message-ID: <5629CA0C.8060604@intel.com> Date: Fri, 23 Oct 2015 13:47:56 +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: haifeng , dts@dpdk.org References: <1445578735-35120-1-git-send-email-haifengx.tang@intel.com> In-Reply-To: <1445578735-35120-1-git-send-email-haifengx.tang@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V2] fix test script get the output from the pmd driver correctly if the command inputs aren't from tester side 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 05:45:38 -0000 Applied. Thanks. On 10/23/2015 01:38 PM, haifeng wrote: > Signed-off-by: haifeng > --- > tests/TestSuite_fdir.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py > index 1372674..9113fb0 100644 > --- a/tests/TestSuite_fdir.py > +++ b/tests/TestSuite_fdir.py > @@ -99,7 +99,8 @@ class TestFdir(TestCase, IxiaPacketGenerator): > self.dut.send_expect("start", "testpmd>") > self.tester.scapy_execute() > time.sleep(.5) > - out = self.dut.send_expect("stop", "testpmd>") > + out = self.dut.get_session_output() > + self.dut.send_expect("stop", "testpmd>") > > if(self.nic in ["kawela", "niantic", "fortville_eagle", "fortville_spirit", "fortville_spirit_single"]): > if ("fwd" == self.fdir_type):