freebsd-skq/sbin
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
..
adjkerntz
bectl Drop "All Rights Reserved" from all libbe/bectl files 2020-01-24 02:18:09 +00:00
bsdlabel Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
camcontrol Declare packed struct ata_params as 2-byte-aligned 2019-12-21 02:44:00 +00:00
ccdconfig
clri
comcontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
conscontrol Remove sio(4). 2019-11-21 01:24:49 +00:00
ddb ddb: use 'textdump dump' instead of 'call doadump' 2019-10-18 12:32:01 +00:00
decryptcore EKCD: Add Chacha20 encryption mode 2019-05-23 20:12:24 +00:00
devd Add missing "ereport." prefixes of ZFS events. 2019-12-18 18:43:44 +00:00
devfs
devmatch Update Makefile.depend files 2019-12-11 17:37:53 +00:00
dhclient Update Makefile.depend files 2019-12-11 17:37:53 +00:00
dmesg
dump Clean up global variable declarations in the dump and restore 2020-04-04 00:56:56 +00:00
dumpfs
dumpon dumpon: skip size check if using zstd 2020-03-03 22:14:23 +00:00
etherswitchcfg Add the 'drop tagged' flag support for ethernet switch ports. 2019-06-28 22:12:43 +00:00
fdisk Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
ffsinfo
fsck Remove unused includes. 2019-12-22 05:44:29 +00:00
fsck_ffs fsck_ffs/fsdb: fix -fno-common build 2020-03-29 20:03:46 +00:00
fsck_msdosfs Use humanize_number to format available and bad space sizes. 2020-02-10 04:16:41 +00:00
fsdb fsck_ffs/fsdb: fix -fno-common build 2020-03-29 20:03:46 +00:00
fsirand fsirand(8): Just use arc4random(3) 2019-12-13 04:12:13 +00:00
gbde
geom Remove all the RELEASE_CRUNCH defines, they are useless. 2019-12-16 21:06:24 +00:00
ggate Fix typo not -> nor and add 'the' because we are talking about specific flags 2019-09-06 15:01:47 +00:00
growfs
gvinum
hastctl
hastd Fix typo in hastd.8 manual page. 2019-12-22 01:22:51 +00:00
ifconfig lagg: Further cleanup of the rr_limit option. 2020-01-09 14:58:41 +00:00
init init(8): set environment variables from the "daemon" class as well 2020-02-05 04:27:44 +00:00
ipf Create a link to the ipmon.conf.5 man page as documented in ipmon.5. 2019-06-27 12:37:44 +00:00
ipfw Use IP_FW_NAT44_DESTROY opcode for IP_FW3 socket option to destroy 2020-03-24 12:27:02 +00:00
iscontrol iscontrol: move definition of vflag/iscsidev to iscontrol.c 2020-03-29 02:28:15 +00:00
kldconfig
kldload
kldstat
kldunload
ldconfig ldconfig: add aout deprecation notice 2020-03-17 15:57:25 +00:00
md5
mdconfig
mdmfs mdmfs(8): add -k skel option to populate fs from a skeleton 2019-11-01 03:10:53 +00:00
mknod
mksnap_ffs
mount Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
mount_cd9660
mount_fusefs Correct a handful of typos/grammos. 2019-12-07 15:17:00 +00:00
mount_msdosfs
mount_nfs Align the buffer to the alignment of the structure we expect. 2020-03-05 21:01:47 +00:00
mount_nullfs
mount_udf
mount_unionfs
natd
newfs Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
newfs_msdos Fix the following -Werror warning from clang 10.0.0 in newfs_msdos: 2020-01-28 20:10:26 +00:00
nfsiod pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nos-tun pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
nvmecontrol Add a basic test for nvmecontrol 2020-04-07 20:26:42 +00:00
pfctl pfctl: improve rule load times with thousands of interfaces 2020-03-19 12:54:43 +00:00
pfilctl
pflogd
ping Update Makefile.depend files 2019-12-11 17:37:53 +00:00
ping6 Make ping6(1) return code consistent with the man page. 2020-02-15 15:39:53 +00:00
quotacheck
rcorder pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
reboot Remove sio(4). 2019-11-21 01:24:49 +00:00
recoverdisk Bump date after recent changes and lint 2020-04-03 13:05:26 +00:00
resolvconf
restore Clean up global variable declarations in the dump and restore 2020-04-04 00:56:56 +00:00
route
routed
rtsol Update Makefile.depend files 2019-12-11 17:37:53 +00:00
savecore savecore: include time zone in info.N file 2020-01-13 22:01:37 +00:00
sconfig Fix the following -Werror warning from clang 10.0.0 in sconfig: 2020-02-13 18:37:17 +00:00
setkey Remove the link to libl which only contains a stub function 2020-03-23 14:37:00 +00:00
shutdown Small tweak to the default behavior of shutdown -c 2020-01-17 01:20:48 +00:00
spppcontrol
swapon Fix a logic bug in error handling code. It is an error if p == NULL. 2019-12-09 07:18:40 +00:00
sysctl
tests
tunefs
umount
veriexec
zfsbootcfg
Makefile Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.mips
Makefile.powerpc64