summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-22 01:04:20 +0000
committerngie <ngie@FreeBSD.org>2017-03-22 01:04:20 +0000
commit1ae0f6f0c68c69943a9669a175bc18c0b345e786 (patch)
treeb0a6e814b24dabef3d673cf6ab69df312207ea97 /etc
parent3260b7788f203a888062cbf2e7bac1510673b39a (diff)
downloadFreeBSD-src-1ae0f6f0c68c69943a9669a175bc18c0b345e786.zip
FreeBSD-src-1ae0f6f0c68c69943a9669a175bc18c0b345e786.tar.gz
MFC r315320:
Start adding basic tests for cam(3) This change contains several negative and positive tests for: - cam_open_device - cam_close_device - cam_getccb - cam_freeccb This also contains a test for the failure case noted in bug 217649, i.e., O_RDWR must be specified because pass(4) requires it. This test unfortunately cannot assume that cam-capable devices are present, so the user must explicitly provide a device via `test_suites.FreeBSD.cam_test_device`. In the future, a test kernel module might be shipped, or ctl(4) might be used, as a test device when testing out libcam, which will allow the tests to do away with having to specify an explicit test device.
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 e84a06a..9751c97 100644
--- a/etc/mtree/BSD.tests.dist
+++ b/etc/mtree/BSD.tests.dist
@@ -308,6 +308,8 @@
ttyio
..
..
+ libcam
+ ..
libcrypt
..
libdevdctl
OpenPOWER on IntegriCloud