From owner-freebsd-testing@FreeBSD.ORG Tue Jun 10 22:06:53 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 4C0DEACD; Tue, 10 Jun 2014 22:06:53 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (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 A0B722838; Tue, 10 Jun 2014 22:06:52 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id 10so4312432lbg.16 for ; Tue, 10 Jun 2014 15:06:50 -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=ecHGgpND28V6CDN8VOuN19Pb+qKUEkUmP5kCA8nWToI=; b=I0dxS8ZjpI0BlTa9MVoSg2TTRfZC0GJ43aoeCLGpQ0J9Jk0MKobmrc2qos0SpOD1+l XXBO7z1rf9O7CBp0OnOEI35wk9xkWN6hRI0FIJ0qmxdazBNj3MkE4pUrdAeIWWZ+k0YR 46YKfXHQHmooTV1WvogxhVik5BnxHefhunHjCshBJlDmezvh/sJcuJs6Ousm4odwdzXR EGkv36g3qML1uRpBCSzW3NsV9Uf5cyIJbIe1mG9CewiblWYMrjzpCwDwDBF6H8Q5gMy0 GazEcnp3R4bLaLtI1/aAOPE8py8/4iLQZDBKeuWYy1hjf4ec6+PYcr4GxgeZ6g4sqHN+ vgPA== MIME-Version: 1.0 X-Received: by 10.112.159.7 with SMTP id wy7mr23506498lbb.4.1402438010489; Tue, 10 Jun 2014 15:06:50 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.67.73 with HTTP; Tue, 10 Jun 2014 15:06:50 -0700 (PDT) Date: Tue, 10 Jun 2014 15:06:50 -0700 X-Google-Sender-Auth: jb-eo8nJv_hNezTD0rIyUbXRABs Message-ID: Subject: Best place to learn how to write tests which work under kyua? From: Craig Rodrigues To: "freebsd-testing@freebsd.org" , Julio Merino Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 10 Jun 2014 22:06:53 -0000 Hi, Where is the best place to learn about starting from a clean slate, writing new tests which execute under kyua, and how to structure the Kyuafile? Specifically, I want to use kyua in my own project, which is not part of the FreeBSD source tree. I looked at these links: http://wiki.netbsd.org/kyua/ https://wiki.freebsd.org/TestingFreeBSD https://wiki.freebsd.org/TestSuite http://www.bsdcan.org/2014/schedule/events/462.en.html While those links gave good general overviews of kyua, and also how to use it within the structure of /usr/tests on FreeBSD, I did not get a clear idea of how to use kyua in my own project. The only thing that started to clear things up for me was by looking in: src/share/examples/tests/tests/plain/ and reading some of the kyua man pages. Is there another source of information that I can look at for how to write tests which work under kyua -- Craig