]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r290572,r290646,r290848,r290849:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 Nov 2015 10:53:01 +0000 (10:53 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 23 Nov 2015 10:53:01 +0000 (10:53 +0000)
commit8bb8162627be1da4b5b6fba6426f4879ea1a4e79
treeb388d5645fbd600d6dbf8f2ee449d598f11da503
parente67dc07ed1d81d3c468e8861e610c637d8c950ba
MFC r290572,r290646,r290848,r290849:

r290572:

Integrate tools/regression/lib/libc/gen into the FreeBSD test suite
as lib/libc/tests/gen

The code in test-fnmatch that was used for generating:

- bin/sh/tests/builtins/case2.0
- bin/sh/tests/builtins/case3.0

has been left undisturbed. The target `make sh-tests` has been moved over
from tools/regression/lib/libc/gen/Makefile to
lib/libc/tests/gen/Makefile and made into a PHONY target

case2.0 and case3.0 test input generation isn't being done automatically.
This needs additional discussion.

Sponsored by: EMC / Isilon Storage Division

r290646:

Add missing licensing boilerplate to test-fnmatch.c

Carry over licensing author info from fnmatch_test.c (jilles@)

Sponsored by: EMC / Isilon Storage Division

r290848:

Fix -Wunused warnings

Sponsored by: EMC / Isilon Storage Division

r290849:

Fix -Wmissing-braces warnings by adding braces around all the
testcase inputs

Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@291190 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/tests/gen/Makefile
lib/libc/tests/gen/fmtcheck_test.c [new file with mode: 0644]
lib/libc/tests/gen/fmtmsg_test.c [new file with mode: 0644]
lib/libc/tests/gen/fnmatch_test.c [new file with mode: 0644]
lib/libc/tests/gen/fnmatch_testcases.h [new file with mode: 0644]
lib/libc/tests/gen/ftw_test.c [new file with mode: 0644]
lib/libc/tests/gen/popen_test.c [new file with mode: 0644]
lib/libc/tests/gen/posix_spawn_test.c [new file with mode: 0644]
lib/libc/tests/gen/test-fnmatch.c [new file with mode: 0644]
lib/libc/tests/gen/wordexp_test.c [new file with mode: 0644]