location of atf-scripts on github

Alan Somers asomers at freebsd.org
Fri Nov 3 21:10:02 UTC 2017


Tests generally live in a tests subdirectory underneath the executable
that they test.  So for basename(1), look in usr.bin/basename/tests/ .
NetBSD's tests are imported into contrib/netbsd-tests.  Only some
executables use NetBSD's tests, but basename is one of them.  So its
test actually lives in contrib/netbsd-tests/usr.bin/basename/.

-Alan

On Fri, Nov 3, 2017 at 2:51 PM, Fred Schlechter <freds at vailsys.com> wrote:
> My question is on the location, in the FreeBSD source-tree on github, of the atf-scripts.
>
> For example, to test the basename(1) utility there is an atf-script named basename_test
> in /usr/tests/usr.bin/basename/ on my FreeBSD workstation. But, I can't find the file
> basename_test anywhere in the FreeBSD source tree on github.
>
> But, in the NetBSD source-tree on github there is a file named t_basename.sh in
> netbsd-src/tests/usr.bin/basename/. The basename_test file, which FreeBSD uses, seems
> to be based on the NetBSD file.
>
> Please explain, where are the FreeBSD-specfic atf-scripts on github or in another repo?
>
> Thanks,
> FJS
>
> _______________________________________________
> freebsd-testing at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe at freebsd.org"


More information about the freebsd-testing mailing list