[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / bin / sh

File: [cvs.NetBSD.org] / src / tests / bin / sh / Makefile (download)

Revision 1.14, Wed Dec 5 02:45:06 2018 UTC (5 years, 3 months ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Changes since 1.13: +2 -1 lines

Add a new test program to test the "intermediate" shell built in
utilities.  That is, not the low level ones that look like syntax,
but aren't: break/continue/return; not those which are really
just external programs that are built in for efficiency (printf,
test, and kill - though kill really needs to be built in) - those
should all have separate test programs (there is a test here for the
built-in echo, as that is an entirely different thing to /bin/echo);
and also not those for which there are other tests because of the
nature of the built-in (like exit, wait, shift, ...).   Lastly not
"times" either as that just seems to be too hard to test rationally.

There is a test (well, framework) for ulimit and there's also t_ulimit.sh
one of those should go, but I am not yet sure which is the best way
to reconcile things.

Note: many (in fact) most of the test cases added here are either
entirely empty (no tests at all, beyond testing that the built-in is
in fact a shell built-in) or only very rudimentary tests - assistance
in fleshing those out would be welcome (the boilerplate is all here,
all that is needed is some actual tests to run...)

# $NetBSD: Makefile,v 1.14 2018/12/05 02:45:06 kre Exp $
#

.include <bsd.own.mk>

TESTSDIR = ${TESTSBASE}/bin/sh

TESTS_SUBDIRS += dotcmd

TESTS_SH+=	t_arith
TESTS_SH+=	t_builtins
TESTS_SH+=	t_cmdsub
TESTS_SH+=	t_evaltested
TESTS_SH+=	t_exit
TESTS_SH+=	t_expand
TESTS_SH+=	t_fsplit
TESTS_SH+=	t_here
TESTS_SH+=	t_option
TESTS_SH+=	t_patterns
TESTS_SH+=	t_redir
TESTS_SH+=	t_redircloexec
TESTS_SH+=	t_set_e
TESTS_SH+=	t_shift
TESTS_SH+=	t_syntax
TESTS_SH+=	t_ulimit
TESTS_SH+=	t_varquote
TESTS_SH+=	t_varval
TESTS_SH+=	t_wait

.include <bsd.test.mk>