11.4Sjruoho$NetBSD: README,v 1.4 2012/05/18 15:36:21 jruoho Exp $
21.1Sjruoho
31.4SjruohoWhen adding new tests, please try to follow the following conventions.
41.4Sjruoho
51.4Sjruoho1. For library routines, including system calls, the directory structure of
61.4Sjruoho   the tests should follow the directory structure of the real source tree.
71.4Sjruoho   For instance, interfaces available via the C library should follow:
81.1Sjruoho
91.2Sjruoho	src/lib/libc/gen -> src/tests/lib/libc/gen
101.2Sjruoho	src/lib/libc/sys -> src/tests/lib/libc/sys
111.4Sjruoho	...
121.4Sjruoho
131.4Sjruoho2. Equivalently, all tests for userland utilities should try to follow their
141.4Sjruoho   location in the source tree. If this can not be satisfied, the tests for
151.4Sjruoho   a utility should be located under the directory to which the utility is
161.4Sjruoho   installed. Thus, a test for env(1) should go to src/tests/usr.bin/env.
171.4Sjruoho   Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump,
181.4Sjruoho   even though the source code for the program is located under src/external.
191.1Sjruoho
201.4Sjruoho3. Otherwise use your own discretion.
21