From owner-soc-status@freebsd.org Tue Jun 6 02:02:36 2017 Return-Path: Delivered-To: soc-status@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 5C0ECB94319 for ; Tue, 6 Jun 2017 02:02:36 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) (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 1F5FD77B15; Tue, 6 Jun 2017 02:02:35 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: by mail-qt0-f172.google.com with SMTP id w1so112265194qtg.2; Mon, 05 Jun 2017 19:02:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=eZ2lVy1JxhLID7t7sJkzHW5sn93YKCbONhqOOZo4pDI=; b=gJKojuxZvg6WUIejVufzYUXLYBA4cxustTozH2KN8gYc3vm2wIPfW+J3SNhfFiStQp 2Qhkgrh6OE+zQR3z7JitZrjAWMr2IGREycj25UQeYiraOl78DpG5+hAv+oKFIrRLMJLg cCf5b286AasfO9Cr1elxQuC9SQocPZDrVHq/ZeSl9IOfM09cetHHfDY0/sbI/ISY0mnR kt6DyIa8o2chrHWwofGRTsLkNr+AzTbVWsTi+vGkQap40d9yab/HJQe2fwfzL2xe7Ttt QV4atELRCAQPoXeRcVrrYMg7VjounpcXiMQh/WzFyA6VWcq8sM5wX+yrJpyZisGxhxq2 S8Ag== X-Gm-Message-State: AKS2vOyNJuvM3JdgVhy0237hxn7Gdx0vCM6/BFBRyvczHtG39EoJ19Zn JQnvuGf0eRgp/Krc X-Received: by 10.55.48.15 with SMTP id w15mr7164573qkw.99.1496708207952; Mon, 05 Jun 2017 17:16:47 -0700 (PDT) Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com. [209.85.216.177]) by smtp.gmail.com with ESMTPSA id q66sm22760782qkh.39.2017.06.05.17.16.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jun 2017 17:16:47 -0700 (PDT) Received: by mail-qt0-f177.google.com with SMTP id w1so109807627qtg.2; Mon, 05 Jun 2017 17:16:47 -0700 (PDT) X-Received: by 10.55.124.194 with SMTP id x185mr15771828qkc.215.1496708207362; Mon, 05 Jun 2017 17:16:47 -0700 (PDT) MIME-Version: 1.0 From: Shivansh Rai Date: Tue, 06 Jun 2017 00:16:36 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC17] Smoke testing of all base utilities - Week 1 To: "soc-status@freebsd.org" Cc: Alan Somers , Brooks Davis , "Ngie Cooper (yaneurabeya)" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 02:02:36 -0000 Hello all, This project aims to add test coverage for all the base utilities in FreeBSD. This is the progress which I made during week 1 of the coding period - * Added 2 (kyua based) test-cases for cat(1) utility (D11020) [1] Summary - * Separate the test cases for '-e', '-b' and '-s' options. Add relevant input and output files. * Update d_align.out to match the expected output of '-b' option. * Test that '-vt' option displays non-printing characters, namely control characters, delete character and meta-characters. * Added a new (kyua based) test program with 2 test-cases for /bin/echo (D11036) [2] Summary - * Verify that echo(1) does not print the trailing newline character with option '-n'. * Verify that echo(1) does not print the trailing newline charater when '\c' is appended to the end of the string. The plan for the upcoming week is to add test coverage for as many utilities as possible. Project wiki page: https://wiki.freebsd.org/SummerOfCode2017/SmokeTestingOfBaseUtilities A rough (in-progress) implementation sketch of a smoke testing tool: https://github.com/shivrai/smoketestsuite/#test-plan [1]: https://reviews.freebsd.org/D11020 [2]: https://reviews.freebsd.org/D11036 Thank you. With best regards, Shivansh Rai