summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDavid Bright <dab@FreeBSD.org>2020-04-07 20:26:42 +0000
committerDavid Bright <dab@FreeBSD.org>2020-04-07 20:26:42 +0000
commit0e3e53d746642e3457724d712c2209309665f94f (patch)
tree7dcb198e4ce4573b1edafbe48a57757a124c1377 /etc
parent0660bb6fa573c61dc7de2b5a6ee202e8b3f007aa (diff)
downloadsrc-test2-0e3e53d746642e3457724d712c2209309665f94f.tar.gz
src-test2-0e3e53d746642e3457724d712c2209309665f94f.zip
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
Notes
Notes: svn path=/head/; revision=359717
Diffstat (limited to 'etc')
-rw-r--r--etc/mtree/BSD.tests.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist
index 90ea10b3b72c..9fbf74246f4a 100644
--- a/etc/mtree/BSD.tests.dist
+++ b/etc/mtree/BSD.tests.dist
@@ -438,6 +438,8 @@
..
mdconfig
..
+ nvmecontrol
+ ..
pfctl
files
..