Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2017 15:09:58 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Fred Schlechter <freds@vailsys.com>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: location of atf-scripts on github
Message-ID:  <CAOtMX2i=g9KhvPGa5gRxNotiXA7kDXxz1Fy=Ua3GV0qmrCr29g@mail.gmail.com>
In-Reply-To: <1315882718.45460224.1509742280453.JavaMail.zimbra@vailsys.com>
References:  <753390412.45454647.1509740302185.JavaMail.zimbra@vailsys.com> <1315882718.45460224.1509742280453.JavaMail.zimbra@vailsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2i=g9KhvPGa5gRxNotiXA7kDXxz1Fy=Ua3GV0qmrCr29g>