freebsd-nq/sbin/nvmecontrol
David Bright 0e3e53d746 Add a basic test for nvmecontrol
I recently made some bug fixes in nvmecontrol. It occurred to me that
since nvmecontrol lacks any kyua tests, I should convert the informal
testing I did into a more formal automated test. The test in this
change should be considered just a starting point; it is neither
complete nor thorough. While converting the test to ATF/kyua, I
discovered a small bug in nvmecontrol; the nvmecontrol devlist command
would always exit with an unsuccessful status. So I included the fix
for that, too, so that the test won't fail.

Reviewed by:	imp@
MFC after:	3 days
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D24269
2020-04-07 20:26:42 +00:00
..
modules Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
tests Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
comnd.c Assume all the short args have optional args so allocate space for the 2019-09-11 13:34:19 +00:00
comnd.h Create generic command / arg parsing routines 2019-07-16 17:24:03 +00:00
devlist.c Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
firmware.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
format.c Fix parameter check broken at r350057. 2019-08-03 04:30:22 +00:00
identify_ext.c Fix host memory buffer sizes reporting. 2020-01-06 01:51:23 +00:00
identify.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
logpage.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
Makefile Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nc_util.c Add SPDX tag. 2019-02-28 02:29:48 +00:00
ns.c Add IOCTL to translate nvdX into nvmeY and NSID. 2019-08-01 21:44:07 +00:00
nsid.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
nvmecontrol_ext.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
nvmecontrol.8 Add nvmecontrol resv to handle NVMe reservations. 2019-08-05 17:36:00 +00:00
nvmecontrol.c Add IOCTL to translate nvdX into nvmeY and NSID. 2019-08-01 21:44:07 +00:00
nvmecontrol.h Decode few more NVMe log pages. 2019-08-02 20:16:21 +00:00
passthru.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
perftest.c Size is unsigned, so remove the test entirely. 2019-09-25 07:51:30 +00:00
power.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
reset.c Fix various Coverity-detected errors in nvmecontrol 2020-04-02 13:52:54 +00:00
resv.c Fix alignment issue r350599. 2019-08-05 19:30:28 +00:00
sanitize.c Add nvmecontrol resv to handle NVMe reservations. 2019-08-05 17:36:00 +00:00