From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1FBD93777 for ; Mon, 25 Jul 2016 10:38:02 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 25 Jul 2016 01:38:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,418,1464678000"; d="scan'208";a="1013260160" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga001.fm.intel.com with ESMTP; 25 Jul 2016 01:38:01 -0700 Message-ID: <5795D0B5.3080204@intel.com> Date: Mon, 25 Jul 2016 16:41:25 +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: pengyuan , dts@dpdk.org References: <1468841068-20745-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1468841068-20745-1-git-send-email-yuan.peng@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] get packet's content in pmdrssreta 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: Mon, 25 Jul 2016 08:38:03 -0000 Thanks, applied. On 07/18/2016 07:24 PM, pengyuan wrote: > Signed-off-by: pengyuan > > diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py > index 6445330..653f8c0 100644 > --- a/tests/TestSuite_pmdrssreta.py > +++ b/tests/TestSuite_pmdrssreta.py > @@ -104,8 +104,8 @@ class TestPmdrssreta(TestCase): > time.sleep(.5) > else: > print "\ntran_type error!\n" > - > - out = self.dut.send_expect("stop", "testpmd>") > + out = self.dut.get_session_output(timeout=1) > + self.dut.send_expect("stop", "testpmd>") > lines = out.split("\r\n") > reta_line = {} >