mirror of
https://github.com/opnsense/src.git
synced 2026-03-29 22:23:16 -04:00
This change is a proof of concept on how to easily integrate existing tests from the tools/regression/ hierarchy into the /usr/tests/ test suite and on how to adapt them to the new layout for src. To achieve these goals, this change: - Moves tests from tools/regression/bin/<tool>/ to bin/<tool>/tests/. - Renames the previous regress.sh files to legacy_test.sh. - Adds Makefiles to build and install the tests and all their supporting data files into /usr/tests/bin/. - Plugs the legacy_test test programs into the test suite using the new TAP backend for Kyua (appearing in 0.8) so that the code of the test programs does not have to change. - Registers the new directories in the BSD.test.dist mtree file. Reviewed by: freebsd-testing Approved by: rpaulo (mentor)
30 lines
795 B
Makefile
30 lines
795 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
FILESDIR= ${TESTSBASE}/bin/sh/errors
|
|
KYUAFILE= no
|
|
|
|
FILES= assignment-error1.0
|
|
FILES+= assignment-error2.0
|
|
FILES+= backquote-error1.0
|
|
FILES+= backquote-error2.0
|
|
FILES+= bad-binary1.126
|
|
FILES+= bad-keyword1.0
|
|
FILES+= bad-parm-exp1.0
|
|
FILES+= bad-parm-exp2.2 bad-parm-exp2.2.stderr
|
|
FILES+= bad-parm-exp3.2 bad-parm-exp3.2.stderr
|
|
FILES+= bad-parm-exp4.2 bad-parm-exp4.2.stderr
|
|
FILES+= bad-parm-exp5.2 bad-parm-exp5.2.stderr
|
|
FILES+= bad-parm-exp6.2 bad-parm-exp6.2.stderr
|
|
FILES+= option-error.0
|
|
FILES+= redirection-error.0
|
|
FILES+= redirection-error2.2
|
|
FILES+= redirection-error3.0
|
|
FILES+= redirection-error4.0
|
|
FILES+= redirection-error5.0
|
|
FILES+= redirection-error6.0
|
|
FILES+= redirection-error7.0
|
|
FILES+= write-error1.0
|
|
|
|
.include <bsd.test.mk>
|