From owner-freebsd-current@FreeBSD.ORG  Tue Aug 26 19:49:00 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id A42885EC;
 Tue, 26 Aug 2014 19:49:00 +0000 (UTC)
Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com
 [IPv6:2607:f8b0:400e:c03::231])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 609AF337E;
 Tue, 26 Aug 2014 19:49:00 +0000 (UTC)
Received: by mail-pa0-f49.google.com with SMTP id hz1so23738768pad.8
 for <multiple recipients>; Tue, 26 Aug 2014 12:49:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=references:mime-version:in-reply-to:content-type
 :content-transfer-encoding:message-id:cc:from:subject:date:to;
 bh=2OrYwMLOoRJqRh4kRsgKoMv8eWVh5lbpNWAOdFiFTEM=;
 b=Uyc/kYx0YtUVh7/kOaIt0KxzHldVmki0emZPXvwBPxj3PZM2T3A8OUWXRugRU61YxT
 /lRBA/BA8V8NKXRKDzuWUSf/1AmtWfAOZsnS0IeKbUw1oNsiEGg/N0ozokp6TRLToRPm
 DQP31axsiaN9OOmpNjtrrGh8hf/mp7FH0w0ONUp68cSo3UHavR+jcGTgQP6wQkNXsdQw
 MXgIvF2N/ltn8rjZPAT5VWhiiinz9NEvE3Yko5KtwtDfWVI5kWuOrLWfTSrndeArkvPj
 f1zLjXmjhrWdY4xnc5OuOYLuJ10LkPc/ZJfaeDWi6BrNS4Pt9wRSJF5wQ4oizlai1JN2
 x0Uw==
X-Received: by 10.66.222.97 with SMTP id ql1mr22932850pac.119.1409082539986;
 Tue, 26 Aug 2014 12:48:59 -0700 (PDT)
Received: from [192.168.20.11] (c-98-247-240-204.hsd1.wa.comcast.net.
 [98.247.240.204])
 by mx.google.com with ESMTPSA id d8sm6045659pdl.94.2014.08.26.12.48.59
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Tue, 26 Aug 2014 12:48:59 -0700 (PDT)
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+Q_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+p1SKL=nQ@mail.gmail.com>
 <53A7CE1B.7090400@gmail.com>
 <CAOtMX2jshon9w37PxcwhH94fd0v7UPbXRdch0iuzOtba3PBPZQ@mail.gmail.com>
 <CAOtMX2h0GO931Zbv1_cXW83_nuvjJagQe7rTN22Os5+Q_Pe0aw@mail.gmail.com>
 <8e598a07cf5bc8690749120295936c40@mail.feld.me>
 <CAOtMX2gv3_0h6qF9tb9DWx=u952FGpBk0DXhfXa-yuRE5UmtmQ@mail.gmail.com>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CAOtMX2gv3_0h6qF9tb9DWx=u952FGpBk0DXhfXa-yuRE5UmtmQ@mail.gmail.com>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <73E03261-8087-415A-BD04-EAADFF90C080@gmail.com>
X-Mailer: iPhone Mail (11D257)
From: Garrett Cooper <yaneurabeya@gmail.com>
Subject: Re: FreeBSD 10 and zfsd
Date: Tue, 26 Aug 2014 12:48:57 -0700
To: Alan Somers <asomers@freebsd.org>
Cc: Johan Hendriks <joh.hendriks@gmail.com>,
 FreeBSD CURRENT <freebsd-current@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2014 19:49:00 -0000


> On Aug 26, 2014, at 12:45, Alan Somers <asomers@freebsd.org> wrote:
>=20
>> On Tue, Aug 26, 2014 at 1:39 PM, Mark Felder <feld@freebsd.org> wrote:
>> August 26 2014 10:21 AM, "Alan Somers" <asomers@freebsd.org> wrote:
>>>=20
>>> 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.
>>=20
>> Can you provide a link to the atf-ksh93 code?
>=20
> 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 Ky=
ua 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=