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

Shivansh Rai shivansh at freebsd.org
Mon Jun 12 14:37:00 UTC 2017


Hello all,

This is the progress update of week 2 -

* Added tests for ln(1) (D11084, D11158) [1][2]
Summary -
  * Verify that when creating a hard link to a symbolic link, '-L' option
    creates a hard link to the target of the symbolic link
  * Verify that when creating a hard link to a symbolic link, '-P' option
    creates a hard link to the symbolic link itself
  * Verify that if the target file already exists, '-f' option unlinks it so
    that link may occur
  * Verify that if the target file or directory is a symbolic link, '-shf'
    option prevents following the link
  * Verify that if the target file or directory is a symbolic link, '-snf'
    option prevents following the link
  * Verify that '-s' option creates a symbolic link
  * Verify that '-w' option produces a warning if the source of a symbolic
    link does not currently exist

* Prepared a rough work-plan [3] to be followed to automate the creation of
smoke tests.
  (After some discussion with mentors it seems that this approach requires
some more work/thought to be feasible).
  Suggestions to the work-plan are most welcome and will be appreciated !

* Created a PR which adds the atf_check_not_equal function to atf-sh to
check for unequal values [4].

* Made a few updates to the smoketestsuite [5].

[1]: https://reviews.freebsd.org/D11084
[2]: https://reviews.freebsd.org/D11158
[3]: https://shivrai.github.io/assets/tmp/GSoC17Automation.pdf
[4]: https://github.com/jmmv/atf/pull/32
[5]:
https://github.com/shivrai/smoketestsuite/compare/324e5f87e5c7957420dacf6993feeffb55abf4e7...master

Thank you.
With best regards,
Shivansh Rai


More information about the soc-status mailing list