From patchwork Tue Oct 13 15:07:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 80422 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86E6FA04B6; Tue, 13 Oct 2020 09:07:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C6211C135; Tue, 13 Oct 2020 09:07:06 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id F37A21BF4A for ; Tue, 13 Oct 2020 09:07:04 +0200 (CEST) IronPort-SDR: gbEgUsyd1lKwLW6GuD0JPkHZQXIJlwAgES3NqNpNpO9E7FUhQm2MFhKwqj+yMnhnFxmBs1hM3f NY6byqsbDxXQ== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="153694176" X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="153694176" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 00:07:04 -0700 IronPort-SDR: qeIHVY+Uw3njuGsohoRfDHyhQkzQIPTG5XLGHFeNf32xoWr3snbDonr1TPZlkK8sJhfUtWzEFc VUwMXz0Ucz6g== X-IronPort-AV: E=Sophos;i="5.77,369,1596524400"; d="scan'208";a="530282854" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 00:07:03 -0700 From: Chen Linglix To: dts@dpdk.org Cc: Chen Linglix Date: Tue, 13 Oct 2020 15:07:07 +0000 Message-Id: <20201013150714.3258960-4-linglix.chen@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201013150714.3258960-1-linglix.chen@intel.com> References: <20201013150714.3258960-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [dts 03/10] framework/ssh_pexpect.py:add the BSD License header information 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Chen Linglix --- framework/ssh_pexpect.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/framework/ssh_pexpect.py b/framework/ssh_pexpect.py index fbc7dd4a..6aa62ecd 100644 --- a/framework/ssh_pexpect.py +++ b/framework/ssh_pexpect.py @@ -1,3 +1,34 @@ +# BSD LICENSE +# +# Copyright(c) 2020 Intel Corporation. All rights reserved. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of Intel Corporation nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + import time import pexpect from pexpect import pxssh