From owner-freebsd-testing@FreeBSD.ORG Mon Jul 28 20:59:50 2014 Return-Path: Delivered-To: freebsd-testing@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 02CE06EF for ; Mon, 28 Jul 2014 20:59:50 +0000 (UTC) Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) (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 BC6B021DF for ; Mon, 28 Jul 2014 20:59:49 +0000 (UTC) Received: by mail-qg0-f50.google.com with SMTP id q108so9287741qgd.37 for ; Mon, 28 Jul 2014 13:59:48 -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=ZERrh9fLq8hV2M1WMeesEpwvWESvK/Gl8B3YPrphuWs=; b=dqcs6zmll254nX2s6b8UlYTDa/qEmBSVrWqh35+a4y+SySruKXZvA+EpAeBchV6QS/ SrFatSHeuXyVOqKBwB2eZiA538UAHvddZsGFAQW+78ZqMOmMoKy2sB1itF+vEnJKNtCQ 7xCaF2WwnU6XvB7HfgR1y/F6GBr1A0gl8DF7tSJXJzuWtbtzZxBBvR03nGeOFeaFKuBA gPe1EvmN/6eRJjHUW9KC+PZmIZ04yM2JOTT+WyKRxyzFChWN+K802Xhz5Q/n32DDbPb3 TtE/xVhLYikYTR/yDxr7uJGzeCuzqGKKCAjtldFawhbTSi2IWUPY517zGmAINQSSe7XO 0HPQ== MIME-Version: 1.0 X-Received: by 10.140.84.21 with SMTP id k21mr47084848qgd.70.1406581188697; Mon, 28 Jul 2014 13:59:48 -0700 (PDT) Sender: sjk4015@gmail.com Received: by 10.140.89.234 with HTTP; Mon, 28 Jul 2014 13:59:48 -0700 (PDT) Date: Mon, 28 Jul 2014 16:59:48 -0400 X-Google-Sender-Auth: uvKpYQw25YJ4rucakyIRQCNTGKE Message-ID: Subject: Regression tests for true/false From: Steven Kreuzer To: freebsd-testing@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 20:59:50 -0000 I am in the process of figuring out how I can start writing tests for various utilities and whatnot so I figured I would start out by picking some of the low hanging fruit. However, I am having a bit of an issue finding tutorials or documentation on the preferred way to start add regression tests so I have been looking at some of the existing tests people have been adding. Can someone take a look at this diff to add regression tests that make sure `true` and `false` both exit with the correct value ( http://people.freebsd.org/~skreuzer/patches/true-false.patch ) Also, if anyone has any suggestions or documentation/examples they can point me at to better integrate with ATF, it would be most appreciated. Thanks