1*63e83880Sjruoho$NetBSD: README,v 1.4 2012/05/18 15:36:21 jruoho Exp $ 25c079798Sjruoho 3*63e83880SjruohoWhen adding new tests, please try to follow the following conventions. 4*63e83880Sjruoho 5*63e83880Sjruoho1. For library routines, including system calls, the directory structure of 6*63e83880Sjruoho the tests should follow the directory structure of the real source tree. 7*63e83880Sjruoho For instance, interfaces available via the C library should follow: 85c079798Sjruoho 931fc3f87Sjruoho src/lib/libc/gen -> src/tests/lib/libc/gen 1031fc3f87Sjruoho src/lib/libc/sys -> src/tests/lib/libc/sys 11*63e83880Sjruoho ... 125c079798Sjruoho 13*63e83880Sjruoho2. Equivalently, all tests for userland utilities should try to follow their 14*63e83880Sjruoho location in the source tree. If this can not be satisfied, the tests for 15*63e83880Sjruoho a utility should be located under the directory to which the utility is 16*63e83880Sjruoho installed. Thus, a test for env(1) should go to src/tests/usr.bin/env. 17*63e83880Sjruoho Likewise, a test for tcpdump(8) should be in src/tests/usr.sbin/tcpdump, 18*63e83880Sjruoho even though the source code for the program is located under src/external. 19*63e83880Sjruoho 20*63e83880Sjruoho3. Otherwise use your own discretion. 21