Re: FreeBSD 10 and zfsd

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Tue, 26 Aug 2014 12:48:57 -0700
> On Aug 26, 2014, at 12:45, Alan Somers <asomers_at_freebsd.org> wrote:
> 
>> On Tue, Aug 26, 2014 at 1:39 PM, Mark Felder <feld_at_freebsd.org> wrote:
>> August 26 2014 10:21 AM, "Alan Somers" <asomers_at_freebsd.org> wrote:
>>> 
>>> Merged into the projects/zfsd/head branch by change 270604. Merging
>>> to head is blocked by three issues:
>>> a) The atf-ksh93 hack. The correct solution is to modify all the test
>>> programs (not the test cases) so they can run under /bin/sh. That
>>> will take some effort.
>> 
>> Can you provide a link to the atf-ksh93 code?
> 
> There's not much to it.  It simply sets an environment variable and
> calls atf-sh.  What's more interesting is libtest.kshlib. In order to
> eliminate atf-ksh93, we would need to modify libtest.kshlib to run
> under /bin/sh.  Alternatively, it may be easier to split
> libtest.kshlib into two files: a small /bin/sh-compatible that can be
> sourced by the ATF test programs, and a ksh93 script that only needs
> to be sourced by the ATF test cases.

I'm working on integrating the dtrace testcases into kyua, then atf under Kyua as time permits, but I'm not rewriting the core test code (yet), because I want to reduce divergence with upstream.

Why not just require ksh93 from ports?

Cheers!
-Garrett
Received on Tue Aug 26 2014 - 17:49:00 UTC

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