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 48E2B2B98 for ; Mon, 18 Jul 2016 13:25:05 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 18 Jul 2016 04:24:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,383,1464678000"; d="scan'208";a="848288365" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 18 Jul 2016 04:24:36 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u6IBOYcr014614; Mon, 18 Jul 2016 19:24:34 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u6IBOVZK020783; Mon, 18 Jul 2016 19:24:34 +0800 Received: (from pengyuan@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u6IBOVjM020779; Mon, 18 Jul 2016 19:24:31 +0800 From: pengyuan To: dts@dpdk.org Cc: pengyuan Date: Mon, 18 Jul 2016 19:24:28 +0800 Message-Id: <1468841068-20745-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [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, 18 Jul 2016 11:25:06 -0000 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 = {} -- 1.8.3.1