All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nfit, test: Add some global variables and functions to cleanup.
@ 2018-06-14 19:43 Masayoshi Mizuma
  2018-06-14 19:43 ` [PATCH 1/2] nfit, test: Add NFIT_TEST_BUS[01] variable and some helper funtions to common Masayoshi Mizuma
  2018-06-14 19:43 ` [PATCH 2/2] nfit, test: cleanup test scripts Masayoshi Mizuma
  0 siblings, 2 replies; 5+ messages in thread
From: Masayoshi Mizuma @ 2018-06-14 19:43 UTC (permalink / raw)
  To: linux-nvdimm

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.

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        |  7 +++---
 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, 161 insertions(+), 216 deletions(-)

-- 
2.18.0.rc1

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-19 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 19:43 [PATCH 0/2] nfit, test: Add some global variables and functions to cleanup Masayoshi Mizuma
2018-06-14 19:43 ` [PATCH 1/2] nfit, test: Add NFIT_TEST_BUS[01] variable and some helper funtions to common Masayoshi Mizuma
2018-06-14 19:43 ` [PATCH 2/2] nfit, test: cleanup test scripts Masayoshi Mizuma
2018-06-19  4:36   ` Verma, Vishal L
2018-06-19 13:19     ` Masayoshi Mizuma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.