]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r323275, r324112
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Nov 2017 18:18:39 +0000 (18:18 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 28 Nov 2017 18:18:39 +0000 (18:18 +0000)
commitffe514675e5359a02871588b4ae870a08b18182e
tree5b4d9575c0c7631636df3e5cc65c093dff3df6bf
parent77ebee821b5bb0adc3cf8826a7af79f1364bd336
MFC r323275, r324112

r323275:
Add basic tests for chflags, mkdir, rcp, and rmdir

Add basic command line parsing test coverage for these utilities.  The tests
were automatically generated based on their man pages.  These tests can be
expanded by hand for more thorough coverage.  The aim is to generate very
basic amount of test coverage for all the utilities in the base system.

Submitted by: shivansh
Reviewed by: asomers, brooks
Sponsored by: Google, Inc (GSoC 2017)
Differential Revision: https://reviews.freebsd.org/D12036

r324112:
Fix Makefile entries from r323275

Reported by: Vladimir Zakharov <zakharov.vv@gmail.com>
Reviewed by: ngie
X-MFC-With: 323275

git-svn-id: svn://svn.freebsd.org/base/stable/10@326332 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
bin/chflags/Makefile
bin/chflags/tests/Makefile [new file with mode: 0644]
bin/chflags/tests/chflags_test.sh [new file with mode: 0644]
bin/mkdir/Makefile
bin/mkdir/tests/Makefile [new file with mode: 0644]
bin/mkdir/tests/mkdir_test.sh [new file with mode: 0644]
bin/rcp/Makefile
bin/rcp/tests/Makefile [new file with mode: 0644]
bin/rcp/tests/rcp_test.sh [new file with mode: 0644]
bin/rmdir/Makefile
bin/rmdir/tests/Makefile [new file with mode: 0644]
bin/rmdir/tests/rmdir_test.sh [new file with mode: 0644]
etc/mtree/BSD.tests.dist