]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r319844,r319845:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Jul 2017 08:44:38 +0000 (08:44 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 18 Jul 2017 08:44:38 +0000 (08:44 +0000)
commit649738d4bdcecb19e1f74bb47c9b38a36158164a
treee8577a6484e2b678db3fdb544e39737f3ce730a9
parent7542ab9800955254cc41ef0beb8f34f0329bfd0c
MFC r319844,r319845:

r319844:

Add positive and negative testcases for cam_get_device(3)

r319845:

Remove stdlib.h #include added in r319844

A previous iteration of the tests I added in r319844 involved free(3), but
that attempt didn't pan out, so I switched to stack allocated buffers instead
of heap allocated ones, making the #include unnecessary.

MFC with: r319844

git-svn-id: svn://svn.freebsd.org/base/stable/10@321122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libcam/tests/libcam_test.c