Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 15:09:01 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Johan Hendriks <joh.hendriks@gmail.com>, Julio Merino <jmmv@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD 10 and zfsd
Message-ID:  <CAGHfRMBTYtmXtmJGvW-V-BnAMamryJ4J3OXgLXtAB0Jt2ZoL8A@mail.gmail.com>
In-Reply-To: <CAOtMX2hJYy7zbEVb7WDAqiOE6g7F_2MLHR9-OsNZFP__E16caQ@mail.gmail.com>
References:  <5256B761.4050301@gmail.com> <CAOtMX2i5hxdp8=4sHQgu2MOjpv9jqd6D7LV-a8y7S6cuCBgYuw@mail.gmail.com> <1381421583.19140.32451849.084D8E32@webmail.messagingengine.com> <5256E2D5.4060101@allanjude.com> <CAOtMX2hRDCFzmyi2s76j=0AufqAab_UzVi73dBR9t_AsZ6n6=g@mail.gmail.com> <1387388390.28188.61199633.413D38F8@webmail.messagingengine.com> <CAKYr3zw_K242JyxURJ-sJHs7YZz2L99LtJtgX0O6ofDzXq=Cwg@mail.gmail.com> <CAOtMX2juAfiRg4mMSrdKyYmY8Lh3rKu5ArrSW%2BQ_1OKmEWURxg@mail.gmail.com> <CAKYr3zzLSYqZxJ4tgnzdD63dAmfagA-PqVeRPuNPuM7X6f0wEQ@mail.gmail.com> <CAOtMX2jqC0EpWKrUH6kFyq8mdECUUTs1xtTkvKyUwAqP5koQXg@mail.gmail.com> <CAKYr3zxsNs82g0ph=G7YuRYMZKYhWnrv8vFF=dKKDjUVt2zxqQ@mail.gmail.com> <CAOtMX2hbaUJoYaNMSRTdLNKtioc5Wb4hbcXnZ16th_ATUf0c1w@mail.gmail.com> <BB2F8712-2A1E-40AC-82CF-F61F8023405B@FreeBSD.org> <CAOtMX2g2bc0xBBr6w-eoq7pAqnrhCmQsRj81f2ZAB%2Bp1SKL=nQ@mail.gmail.com> <53A7CE1B.7090400@gmail.com> <CAOtMX2jshon9w37PxcwhH94fd0v7UPbXRdch0iuzOtba3PBPZQ@mail.gmail.com> <CAOtMX2h0GO931Zbv1_cXW83_nuvjJagQe7rTN22Os5%2BQ_Pe0aw@mail.gmail.com> <8e598a07cf5bc8690749120295936c40@mail.feld.me> <CAOtMX2gv3_0h6qF9tb9DWx=u952FGpBk0DXhfXa-yuRE5UmtmQ@mail.gmail.com> <73E03261-8087-415A-BD04-EAADFF90C080@gmail.com> <CAOtMX2g=UzCAN=WQj8ur43uhnpoDY1ddRfK4k1%2BiZBrYTYN5CA@mail.gmail.com> <CAGHfRMD93Z2PArmnNggD3wseA=uimoKAV%2BdHKEL4NkB6G9p3DA@mail.gmail.com> <CAOtMX2hJYy7zbEVb7WDAqiOE6g7F_2MLHR9-OsNZFP__E16caQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 26, 2014 at 2:43 PM, Alan Somers <asomers@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMBTYtmXtmJGvW-V-BnAMamryJ4J3OXgLXtAB0Jt2ZoL8A>