README revision 1.3.4.3 1 1.3.4.3 yamt $NetBSD: README,v 1.3.4.3 2012/05/23 10:08:21 yamt Exp $
2 1.3.4.2 yamt
3 1.3.4.3 yamt When adding new tests, please try to follow the following conventions.
4 1.3.4.3 yamt
5 1.3.4.3 yamt 1. For library routines, including system calls, the directory structure of
6 1.3.4.3 yamt the tests should follow the directory structure of the real source tree.
7 1.3.4.3 yamt For instance, interfaces available via the C library should follow:
8 1.3.4.2 yamt
9 1.3.4.2 yamt src/lib/libc/gen -> src/tests/lib/libc/gen
10 1.3.4.2 yamt src/lib/libc/sys -> src/tests/lib/libc/sys
11 1.3.4.3 yamt ...
12 1.3.4.3 yamt
13 1.3.4.3 yamt 2. Equivalently, all tests for userland utilities should try to follow their
14 1.3.4.3 yamt location in the source tree. If this can not be satisfied, the tests for
15 1.3.4.3 yamt a utility should be located under the directory to which the utility is
16 1.3.4.3 yamt installed. Thus, a test for env(1) should go to src/tests/usr.bin/env.
17 1.3.4.3 yamt Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump,
18 1.3.4.3 yamt even though the source code for the program is located under src/external.
19 1.3.4.2 yamt
20 1.3.4.3 yamt 3. Otherwise use your own discretion.
21