Date: Mon, 12 Jun 2017 14:36:41 +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 2 Message-ID: <CAF%2Bp1HuAEaD7oGPJHscuJM-k1pTHf27gGR4wTJjX1vJV2qe%2BqQ@mail.gmail.com>
index | next in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF%2Bp1HuAEaD7oGPJHscuJM-k1pTHf27gGR4wTJjX1vJV2qe%2BqQ>
