From owner-freebsd-testing@FreeBSD.ORG Mon Jul 28 14:21:39 2014 Return-Path: Delivered-To: testing@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 450D2907 for ; Mon, 28 Jul 2014 14:21:39 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (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 0AD5B207C for ; Mon, 28 Jul 2014 14:21:38 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id j15so7747102qaq.15 for ; Mon, 28 Jul 2014 07:21:38 -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=xkrPb0Tc/xxblQR2Mf9H3QR3HSF1qnfTTsFJImxMAoAUYcXAgVOwCADZoJHMSrgJgl gDo/+JbFo8jGWkT7PrIHR+DG+pdd7+wkx05kqbFeHQI/owqoJSPMxoGsD+Q7VDdgtE4W R914Z9mRjt0dCPSq+3yBEk8/awfGRjWVq9S4kIX8ifVJYaGnN/8Ut4iUR4bPH9WCOuW0 83B2E8Ejt+gjh2DfwM9L52ioVo4tnGIn4atvJVlkpPvsowDERT4gUxi+JkHTnbgFOgTg ekTjukxm6FynsQ1WHGiRBIawkmq3KO6ux4oOd9Jirt9TlA2k0DgzLSJqjhbshBrac+ET qqSw== MIME-Version: 1.0 X-Received: by 10.224.103.198 with SMTP id l6mr58960072qao.47.1406557298074; Mon, 28 Jul 2014 07:21:38 -0700 (PDT) Sender: sjk4015@gmail.com Received: by 10.140.89.234 with HTTP; Mon, 28 Jul 2014 07:21:38 -0700 (PDT) Date: Mon, 28 Jul 2014 10:21:38 -0400 X-Google-Sender-Auth: 38i9GP-ZkWF2BhGKCPSZyWUYrk0 Message-ID: Subject: Regression tests for true/false From: Steven Kreuzer To: 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 14:21:39 -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