Linux-NVDIMM Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ndctl, test: Add some global variables and functions to cleanup.
@ 2018-06-19 19:36 Masayoshi Mizuma
  2018-06-19 19:36 ` [PATCH v3 1/2] ndctl, test: Add NFIT_TEST_BUS[01] variable and some helper funtions to common Masayoshi Mizuma
  2018-06-19 19:36 ` [PATCH v3 2/2] ndctl, test: cleanup test scripts Masayoshi Mizuma
  0 siblings, 2 replies; 3+ messages in thread
From: Masayoshi Mizuma @ 2018-06-19 19:36 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.

Changelog:
 - Fix missing '-b' before $NFIT_TEST_BUS*.
 - Fix the subject to "ndctl, test:...".

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(-)

-- 
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] 3+ messages in thread

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox