freebsd-skq/share/examples
jmmv f5874ea6a6 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 Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
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 Update to use DEVMETHOD_END. 2011-11-22 21:49:29 +00:00
etc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
find_interface
FreeBSD_version
hast Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
hwpmc
ibcs2
indent indent.pro example: put all options one per line 2010-04-05 09:26:03 +00:00
ipfilter
ipfw
IPv6
jails Add two scripts that demonstrate how to make and 2010-10-24 22:59:38 +00:00
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 Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. 2011-05-22 14:03:21 +00:00
mdoc Sync example file with mdoc changes made in rev 235450. 2012-06-13 19:08:00 +00:00
netgraph Fix more typos to be a good example. 2011-05-22 14:23:48 +00:00
perfmon Revert r253748,253749 2013-07-28 18:44:17 +00:00
pf Add the 'inet' keyword after the nat rule to avoid interfering with 2012-06-28 03:30:17 +00:00
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 X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
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