Re: FreeBSD 10 and zfsd

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Tue, 26 Aug 2014 15:09:01 -0700
On Tue, Aug 26, 2014 at 2:43 PM, Alan Somers <asomers_at_freebsd.org> wrote:

...

> Adding a ksh93 tester to Kyua was previously discussed on
> kyua-discuss.  But it was basically shot down.
> https://groups.google.com/forum/#!topic/kyua-discuss/w8oJHeZXuro

Maybe the idea just needs to be approached from a different angle like
I did with /bin/sh/tests (
https://svnweb.freebsd.org/base/head/bin/sh/tests/functional_test.sh?revision=269902&view=markup
)? I know that with DTrace at least, it uses dtest.pl, which
implements its own test "discovery" mechanism, which should be easy to
hook into atf and produce testcases for dynamically. Some additional
logic might be required to work around testcases that fail today on
FreeBSD or cause the system to livelock/panic (e.g.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192906 ), but
writing in simple hooks for this shouldn't be hard.

> Porting, in whole or in part, the tests to /bin/sh is time consuming,
> but it's the only option that satisfies everyone.

Perhaps. I'm lazier nowadays and prefer not chasing after the perfect
solution if I can help it (especially because it tends to bite me in
the rear later).

Thanks!
-Garrett
Received on Tue Aug 26 2014 - 20:09:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC