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 2B0F68E68 for ; Tue, 19 Jan 2016 02:38:47 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 18 Jan 2016 17:38:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,315,1449561600"; d="scan'208";a="884235779" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 18 Jan 2016 17:38:29 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u0J1cRsM013780; Tue, 19 Jan 2016 09:38:27 +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 u0J1cPBs001682; Tue, 19 Jan 2016 09:38:27 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u0J1cPfv001678; Tue, 19 Jan 2016 09:38:25 +0800 From: Yong Liu To: dts@dpdk.org Date: Tue, 19 Jan 2016 09:38:08 +0800 Message-Id: <1453167491-1632-3-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1453167491-1632-1-git-send-email-yong.liu@intel.com> References: <1453167491-1632-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH v2 3/6] framework pmd_output: support quit command of testpmd 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: Tue, 19 Jan 2016 01:38:47 -0000 Signed-off-by: Marvin Liu diff --git a/framework/pmd_output.py b/framework/pmd_output.py index 47cd7c7..df8db12 100644 --- a/framework/pmd_output.py +++ b/framework/pmd_output.py @@ -206,3 +206,6 @@ class PmdOutput(): vlan_info['qinq'] = self.get_detail_from_port_info( 'qinq\(extend\) ', '\S+', port_id) return vlan_info + + def quit(self): + self.dut.send_expect("quit", "# ") -- 1.9.3