From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 22:09:02 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22DEC7EF; Tue, 26 Aug 2014 22:09:02 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 BAF9B34CE; Tue, 26 Aug 2014 22:09:01 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id h18so5286842igc.12 for ; Tue, 26 Aug 2014 15:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dpOVjSFQ5Fgm+Y2+vy1uwID0D/1IywyDnDFFCSV8eNY=; b=CkAB+9APkKAcka/RJHOBJ+OWlbFhkcPyfuCsfP/zJ8IzM2Y3bJigAY5JbBd8ak7kW9 Ih4COCngbv5FMt3TxgfLlsQxJGFSe4F6b4ZTUt/ndduJ8fjgKZPMHunTxVdbW8fD0NLj bm0anmOc1DP+2EpgiEvQ5LTSp9icG+aXEEbiIVu6hrScy1CDuIlRWpY63dqnoAWHDUWV KzjQbVQ73XfY8UqNBytamhIGAGuxjqS7d2QpRQbjp3lJkv6nWhv+kcXS5/AWGJ8dJt8Y ggz1BpYFy1h0E3pDPU+ZIn4f+952A+TH2kFTIIvgZHv2T+33Kx6g3jOy17jNi8bZrwy6 FHHA== MIME-Version: 1.0 X-Received: by 10.42.26.9 with SMTP id d9mr34285icc.93.1409090941176; Tue, 26 Aug 2014 15:09:01 -0700 (PDT) Received: by 10.50.72.69 with HTTP; Tue, 26 Aug 2014 15:09:01 -0700 (PDT) In-Reply-To: References: <5256B761.4050301@gmail.com> <1381421583.19140.32451849.084D8E32@webmail.messagingengine.com> <5256E2D5.4060101@allanjude.com> <1387388390.28188.61199633.413D38F8@webmail.messagingengine.com> <53A7CE1B.7090400@gmail.com> <8e598a07cf5bc8690749120295936c40@mail.feld.me> <73E03261-8087-415A-BD04-EAADFF90C080@gmail.com> Date: Tue, 26 Aug 2014 15:09:01 -0700 Message-ID: Subject: Re: FreeBSD 10 and zfsd From: Garrett Cooper To: Alan Somers Content-Type: text/plain; charset=UTF-8 Cc: Johan Hendriks , Julio Merino , FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 22:09:02 -0000 On Tue, Aug 26, 2014 at 2:43 PM, Alan Somers 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