Lines Matching full:tests
1 .\" $NetBSD: tests.atf.7,v 1.8 2023/08/27 15:17:50 rillig Exp $
32 .Nm tests
37 test suite provides a collection of automated tests for two major purposes.
53 tests are implemented using the
63 .Pa tests.tgz ,
65 .Pa /usr/tests
70 .Ss When to run the tests?
94 .Ss Installing the tests
96 .Pa tests.tgz
99 system, the tests are already available in
100 .Pa /usr/tests .
104 # tar xzpf /path/to/tests.tgz
106 .Ss Running the tests
109 $ cd /usr/tests
114 .Pa /usr/tests
117 These results include the count of tests that succeeded (passed), the names of
118 the tests that failed, and the count of the tests that were not executed
124 $ cd /usr/tests
125 $ atf-run | tee ~/tests.log | atf-report
129 .Pa ~/tests.log ,
137 It is also possible to restrict which tests to execute so that only a small
145 debugging failing tests.
147 Tests can be invoked as an unprivileged user, in which case tests that
149 If run as root, an unprivileged user will be used for tests that
151 For maximal coverage, the standard approach is to invoke tests as root.
153 Ideally, tests are self-contained and do not either depend on or
154 perturb the host environment, aside from skipping tests when optional
156 In reality, tests load and unload modules, and do other things that
158 While it is not entirely safe to run tests on a multi-user system,
161 .Ss Configuring the tests
166 Unless these properties are defined, the tests that require them will be marked
187 When set to a filesystem type, restrict tests programs from the
188 .Pa /usr/tests/fs/vfs/
192 tests.
219 .It Pa /usr/tests/
233 .Pa /usr/tests