1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/share/examples
Julio Merino 21203fdd06 Add some sample test programs.
This change adds some sample test cases to share/examples/tests/
demonstrating the basic usage of the atf and plain interfaces.

These test programs are fully-functional and are installed as part
of the test suite, which guarantees that the sample code remains
correct.  However, they currently mostly serve as a placeholder for
additional examples and may be incomplete (depending on how you
look at them).  I will see what else can be useful while working on
documentation.

As a bonus, the addition of these tests exercise the *.test.mk files,
one of which (plain.test.mk) was not yet in use, and also demonstrates
that it's possible to mix different kinds of test programs into the
same test suite.

Approved by:	rpaulo (mentor)
2013-11-18 12:57:46 +00:00
..
autofs/driver
bhyve Make the virtual ioapic available unconditionally in a bhyve virtual machine. 2013-10-31 05:44:45 +00:00
bootforth
BSD_daemon Add an alternate version of beastie to the examples directory. 2013-04-28 02:23:39 +00:00
csh Add a bunch more example completions. 2012-10-16 02:52:30 +00:00
cvsup Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports 2013-03-11 10:48:26 +00:00
diskless Correct double "the the" 2012-09-14 21:28:56 +00:00
drivers
etc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
find_interface
FreeBSD_version
hast
hwpmc
ibcs2
indent
ipfilter
ipfw
IPv6
jails
kld Snapshot. This passes the build test, but has not yet been finished or debugged. 2013-10-04 06:55:06 +00:00
libusb20 - Use libusb20_strerror() function instead of custom usb_error() one. 2013-11-07 07:22:51 +00:00
libvgl
mdoc
netgraph
perfmon Revert r253748,253749 2013-07-28 18:44:17 +00:00
pf
ppi Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
ppp A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
printing
scsi_target Bring legacy CAM target implementation back into API/KPI-coherent and even 2013-09-01 13:01:59 +00:00
ses Decode common state bits in getencstat output. 2012-11-06 01:29:26 +00:00
smbfs
sunrpc
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
witness
Makefile Add some sample test programs. 2013-11-18 12:57:46 +00:00