Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2017 00:16:36 +0000
From:      Shivansh Rai <shivansh@freebsd.org>
To:        "soc-status@freebsd.org" <soc-status@freebsd.org>
Cc:        Alan Somers <asomers@freebsd.org>, Brooks Davis <brooks@freebsd.org>,  "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
Subject:   [GSOC17] Smoke testing of all base utilities - Week 1
Message-ID:  <CAF%2Bp1Hv4pxujvw%2BSyJ50MmxVtTGhbBWF7oUhzNGSDvQ6VDGLSQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF%2Bp1Hv4pxujvw%2BSyJ50MmxVtTGhbBWF7oUhzNGSDvQ6VDGLSQ>