[PATCH] convert /bin/sh tests over to ATF

Julio Merino julio at meroh.net
Fri Jan 24 23:42:06 UTC 2014


On Fri, Jan 24, 2014 at 11:27 AM, Jilles Tjoelker <jilles at stack.nl> wrote:
>
> There may be some point in marking tests that are supposed to work on
> any POSIX-compliant sh and ones that are inherently FreeBSD-specific, or
> possibly more granular. However, this would be most useful when someone
> who cares about another sh implementation works on it.

That's a worthy goal, but only if the test suite was an "external
component" that you shipped outside of FreeBSD and was easily
applicable to other systems.

As it is now, the test suite lives in the FreeBSD tree and therefore
it can be considered to be FreeBSD-specific. Special-casing things out
as only applying to FreeBSD will be difficult to maintain and make
little sense in the current context.

Now... all this can (and should) easily turn into the more generic
discussion of: how to define tests that can be shared across the
various BSDs and how to better maintain them?  I currently have no
answer for that, but it's a pretty large topic to cover.

-- 
Julio Merino / @jmmv


More information about the freebsd-testing mailing list