Skip to contentSkip to conversation

ndctl, tests: add a new unit test for inject-smart

PATCH New Vishal Verma 1 participant 1 message Aug 3, 2018 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Vishal Verma

author maintainer
#0 lore raw

PATCH 1/1 ndctl, tests: add a new unit test for inject-smart

Add a new unit test that exercises all the functionality provided by the ndctl inject-smart command. This performs injections, un-injections, and sets thresholds, and verifies all this happened successfully.

---
 test/Makefile.am     |   1 +
 test/inject-smart.sh | 178 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 179 insertions(+)
 create mode 100755 test/inject-smart.sh
test/Makefile.am +1 -0
index 8c55056..6156a7a 100644
@@ -22,6 +22,7 @@ TESTS =\
 	firmware-update.sh \
 	ack-shutdown-count-set \
 	rescan-partitions.sh \
+	inject-smart.sh \
 	monitor.sh
 
 check_PROGRAMS =\
test/inject-smart.sh new file +178 -0

178 lines not on this page · raw message

Signature · 6 lines
2.14.4

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm