Commit Graph

23 Commits

Author SHA1 Message Date
christos
c3145881d1 trap in subshell 2008-12-21 03:15:53 +00:00
christos
dab49f36c7 add regression tests for stuff recently fixed. 2008-12-21 00:24:06 +00:00
jmmv
65926be28b Convert the regress/bin tests to the atf
This change converts all the existing regression tests in regress/bin to
the new framework provided by atf.  As a side effect, this also moves all
the tests programs in regress/bin to tests/util, as they all belong to
utilities installed by the base-util-root package.
2007-11-12 15:13:58 +00:00
apb
57d159b747 Add a test for the true && ! true | false bug
which dsl fixed in revision 1.65 of src/bin/sh/parser.c.
2007-06-08 11:03:47 +00:00
apb
b233081ee5 Add tests for shell arithmetic. The new tests 4, 5, 6 all pass,
but the existing test 3 fails.
2007-03-25 06:37:01 +00:00
dsl
cbcdf48a7e Add a test for "$@" generating $# of 0 into a shell function. 2006-11-17 22:25:46 +00:00
rillig
9527a32b3d Added another test case and enabled it. 2006-11-09 12:17:35 +00:00
dsl
3c0e03d037 Add some more regression tests for stuff related to the recenty bugs.
Repeat after me 'run these tests before committing changes to /bin/sh source'.
2006-08-28 20:09:59 +00:00
dsl
1f9b387f1d Trailing non-whitespace IFS doesn't generate an empty parameter (any more). 2006-08-21 19:49:09 +00:00
rillig
cbe8405661 Added another regression test which is currently commented out, since it
is not yet fixed.
2006-05-12 00:05:59 +00:00
yamt
fb2455c6ae uncomment set_e.sh. 2005-12-10 14:22:17 +00:00
yamt
80216c60c5 test pipe. 2005-04-02 06:09:45 +00:00
yamt
c2cfe0883b test function as well. 2005-04-02 05:43:29 +00:00
yamt
e81eb82eaa add a test for "set -e". related to PR/17514.
commented out in Makefile because i'm not sure
what's a correct behaviour.
2005-03-31 08:52:49 +00:00
dsl
3cf5992cc1 Some tests for 'here documents' 2004-06-27 10:31:06 +00:00
dsl
5751125024 Regression test for ${x-a b c} and friends 2004-06-26 22:11:49 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
simonb
f34da8442c Add a regression test for testing that here documents don't confuse the
exit status of the previous command ($?).  Fixed long ago on -current,
but forgot to commit this test...
2003-09-13 09:35:56 +00:00
christos
f1158a3072 new regression test. 2002-02-14 21:58:27 +00:00
christos
56fb31996d And fix the Makefile 2002-02-12 20:39:27 +00:00
christos
acb4381e27 Add a more thorough quoting test. 2002-02-12 20:38:42 +00:00
christos
bd1ab585ef Add a more thorough quoting test. 2002-02-12 20:38:40 +00:00
simonb
971aaea197 Add a regression test for sh, from Enami Tsugutomo.
XXX: This test suite is _way_ too short.
2002-02-12 06:00:48 +00:00