Some test scripts have same function. So, let's cleanup to stop the duplication by intoducing 'test/common' file. Test scripts includes the common file to use the functions.
Changelog: - Add SPDX style license header to the new test/common file. - Fix wrong test expression in detect() on test/firmware-update.sh Masayoshi Mizuma (2): ndctl, test: add some helper function for test script ndctl, test: cleanup test scripts test/blk-exhaust.sh | 21 +++----------- test/btt-check.sh | 35 +++++++---------------- test/btt-errors.sh | 20 ++++--------- test/btt-pad-compat.sh | 52 +++++++++++++-------------------- test/clear.sh | 23 ++++----------- test/common | 60 +++++++++++++++++++++++++++++++++++++++ test/create.sh | 21 +++----------- test/daxdev-errors.sh | 19 +++---------- test/firmware-update.sh | 26 ++++------------- test/inject-error.sh | 31 ++++++-------------- test/label-compat.sh | 21 +++----------- test/multi-dax.sh | 19 +++---------- test/pmem-errors.sh | 20 ++++--------- test/rescan-partitions.sh | 44 +++++++--------------------- test/sector-mode.sh | 5 +--- 15 files changed, 151 insertions(+), 266 deletions(-) create mode 100644 test/common -- 2.18.0.rc1 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm