From owner-freebsd-testing@freebsd.org Wed Jul 29 17:59:59 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A99249AEBC8 for ; Wed, 29 Jul 2015 17:59:59 +0000 (UTC) (envelope-from jim.harris@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7443CD65 for ; Wed, 29 Jul 2015 17:59:59 +0000 (UTC) (envelope-from jim.harris@gmail.com) Received: by oihq81 with SMTP id q81so9342436oih.2 for ; Wed, 29 Jul 2015 10:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=pcZe3/xYuruwkEuryAAykTOUui15UP90gys9XmbVAu4=; b=GblnjCw1WwyeZxai1BOnp7kyOZBcmIXUlgKq6lsb/qnT3pglyUGWqxlXiRsZHqGl14 XOwhLBk1pM0f2urx537BcPS73q0yQunAz94Tk7tj3RDcwL7/EdALCj61ZP0UB/Q5NV1z gIXxSjZRmI5EpMUc9EWfASDgxiXkwQ66Cb3gUFtb2f0URZXBpA1KHh0a3RjG3ZiOVaj/ bb3PQWfs/r44mCYmkyoH33K7x2jtU5uQIKOHfMAFOzL7HFk2Qh1TVgxXB2jIwbzdMZus RRHLWINVnGjEVW6u00Dnxqn3kjN9A8GCBZnEeD/JANTLZAWOcioRqF2m8uYPev0SciGA LpEQ== MIME-Version: 1.0 X-Received: by 10.202.180.133 with SMTP id d127mr39896050oif.104.1438192798835; Wed, 29 Jul 2015 10:59:58 -0700 (PDT) Sender: jim.harris@gmail.com Received: by 10.202.104.65 with HTTP; Wed, 29 Jul 2015 10:59:58 -0700 (PDT) Date: Wed, 29 Jul 2015 10:59:58 -0700 X-Google-Sender-Auth: NH-7b_PdTj9BjPDZCgwpZ4PVp8s Message-ID: Subject: NVMe unit tests From: Jim Harris To: freebsd-testing@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 17:59:59 -0000 Hi, I have a CUnit-based infrastructure with quite a few unit tests for the FreeBSD nvme driver. It enables testing a number of corner cases within the driver without requiring real hardware and stubbing kernel behavior in some cases to induce the corner cases. Which leads me to a few questions: 1) Is there interest here in having this pushed into HEAD? Or would a user branch be more appropriate? 2) Where in the tree should I put it? In our internal repo, I have it under tools/regression/nvme, but maybe sys/dev/nvme/tests is more appropriate? Feedback is welcome. Thanks, -Jim