From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x243.google.com (mail-qt0-x243.google.com [IPv6:2607:f8b0:400d:c0d::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 112DC21173C96 for ; Tue, 19 Jun 2018 12:34:19 -0700 (PDT) Received: by mail-qt0-x243.google.com with SMTP id d3-v6so882031qto.1 for ; Tue, 19 Jun 2018 12:34:18 -0700 (PDT) Received: from [10.18.17.172] (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id q77-v6sm426021qki.73.2018.06.19.12.34.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 12:34:17 -0700 (PDT) Subject: Re: [PATCH v2 0/2] nfit, test: Add some global variables and functions to cleanup. References: <20180619193031.17555-1-msys.mizuma@gmail.com> From: Masayoshi Mizuma Message-ID: <400f53a8-d94e-b881-9227-8e79347e9317@gmail.com> Date: Tue, 19 Jun 2018 15:34:19 -0400 MIME-Version: 1.0 In-Reply-To: <20180619193031.17555-1-msys.mizuma@gmail.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: linux-nvdimm@lists.01.org List-ID: I think the subject is wrong... I'll resend them, sorry. - Masa On 06/19/2018 03:30 PM, Masayoshi Mizuma wrote: > This is additional cleanup patches for test scripts. > Add following global variable and functions to test/common file. > Then, cleanup test script to use them. > > - NFIT_TEST_BUS[01] (global variable) > Buses are created when nfit_test module is loaded. > > - NDCTL (global variable) > ndctl command path (renamed). > > - _cleanup > Helper function cleans up nfit_test module. > > - json2var > Helper function (filter) converts json to var. > > Changelog: > - Fix missing '-b' before $NFIT_TEST_BUS*. > > Masayoshi Mizuma (2): > nfit, test: Add NFIT_TEST_BUS[01] variable and some helper funtions to common > nfit, test: cleanup test scripts > > test/blk-exhaust.sh | 21 ++++++---------- > test/btt-check.sh | 52 ++++++++++++++++++--------------------- > test/btt-errors.sh | 30 +++++++++++----------- > test/btt-pad-compat.sh | 36 ++++++++++++--------------- > test/clear.sh | 25 +++++++------------ > test/common | 29 +++++++++++++++++++--- > test/create.sh | 26 +++++++++----------- > test/daxdev-errors.sh | 29 ++++++++-------------- > test/firmware-update.sh | 25 +++++-------------- > test/inject-error.sh | 24 ++++++++---------- > test/label-compat.sh | 17 +++++-------- > test/multi-dax.sh | 23 ++++++----------- > test/pmem-errors.sh | 19 +++++--------- > test/rescan-partitions.sh | 22 ++++++++--------- > test/sector-mode.sh | 22 ++++++----------- > 15 files changed, 172 insertions(+), 228 deletions(-) > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm