[GSOC17] Smoke testing of all base utilities - Week 1

Shivansh Rai shivansh at freebsd.org
Tue Jun 6 02:02:36 UTC 2017


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


More information about the soc-status mailing list