Integrate tools/regression/lib/libc/gen into the FreeBSD test suite
authorngie <ngie@FreeBSD.org>
Mon, 9 Nov 2015 06:24:11 +0000 (06:24 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 9 Nov 2015 06:24:11 +0000 (06:24 +0000)
commit5a54ab5e6790d816f2c3dd53e7662ecc06726dc7
treed6d0b17e61ef93ad2aed62a47158a0357873ff1d
parentd0245e573224c10fd72bff97ced03c3d8cdbff86
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.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
14 files changed:
lib/libc/tests/gen/Makefile
lib/libc/tests/gen/fmtcheck_test.c [moved from tools/regression/lib/libc/gen/test-fmtcheck.c with 84% similarity]
lib/libc/tests/gen/fmtmsg_test.c [moved from tools/regression/lib/libc/gen/test-fmtmsg.c with 93% similarity]
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 [moved from tools/regression/lib/libc/gen/test-ftw.c with 61% similarity]
lib/libc/tests/gen/popen_test.c [new file with mode: 0644]
lib/libc/tests/gen/posix_spawn_test.c [moved from tools/regression/lib/libc/gen/test-posix_spawn.c with 73% similarity]
lib/libc/tests/gen/test-fnmatch.c [new file with mode: 0644]
lib/libc/tests/gen/wordexp_test.c [new file with mode: 0644]
tools/regression/lib/libc/gen/Makefile [deleted file]
tools/regression/lib/libc/gen/test-fnmatch.c [deleted file]
tools/regression/lib/libc/gen/test-popen.c [deleted file]
tools/regression/lib/libc/gen/test-wordexp.c [deleted file]