21203fdd06
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)
59 lines
960 B
Plaintext
59 lines
960 B
Plaintext
# $FreeBSD$
|
|
#
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
|
#
|
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
|
.
|
|
include
|
|
atf-c
|
|
..
|
|
atf-c++
|
|
..
|
|
..
|
|
share
|
|
atf
|
|
..
|
|
doc
|
|
atf
|
|
..
|
|
..
|
|
..
|
|
tests
|
|
lib
|
|
atf
|
|
libatf-c
|
|
..
|
|
libatf-c++
|
|
..
|
|
test-programs
|
|
..
|
|
..
|
|
libcrypt
|
|
..
|
|
..
|
|
libexec
|
|
atf
|
|
atf-check
|
|
..
|
|
..
|
|
..
|
|
share
|
|
examples
|
|
tests
|
|
atf
|
|
..
|
|
plain
|
|
..
|
|
..
|
|
..
|
|
..
|
|
usr.bin
|
|
atf
|
|
atf-sh
|
|
..
|
|
..
|
|
..
|
|
..
|
|
..
|