Commit Graph

88 Commits

Author SHA1 Message Date
christos acfb0ca6d6 Set TEST_SH 2016-03-10 22:30:57 +00:00
christos 2c3c3b3c5b Added more test cases, more exhaustive testing. (from kre) 2016-03-08 14:26:54 +00:00
christos c5b16bb470 remove old test 2016-03-08 14:26:34 +00:00
christos e4619cdffb Tests for the shift builtin (from kre) 2016-03-08 14:26:26 +00:00
christos 491442e6cd This test tests nothing not tested elsewhere, and doesn't
do a very good job of that. Bang! (from kre)
2016-03-08 14:24:50 +00:00
christos c74a97456e Complete implementation of TEST_SH, use builting kill (which does
work, now anyway) rather than working around a defect by using
/bin/kill (if the shell is broken, the test should fail, not succeed)
and test more aspects of the wait builtin in the kill test. (from kre)
2016-03-08 14:24:06 +00:00
christos 764b20ba6a Cleanup left over (dead) debugging code (from kre) 2016-03-08 14:21:02 +00:00
christos e408fa7e5e Correct one test that (while OK for NetBSD) insisted on behaviour
that is not required by the standard. The test now allows either
of the two allowed responses. Also add commentary correcting
erroneous comments about what is correct, and incorrect. (from kre)
2016-03-08 14:20:22 +00:00
christos dd894f6fca Correct the way that TEST_SH is used so that the tests work as
intended when TEST_SH is specifies a shell that needs options (like
sh -F, or bash -o posix). (from kre)
2016-03-08 14:19:28 +00:00
christos 06f9bef68e Improved handling of TEST_SH so that it is possible to define it
to the name of a shell, plus options that shell needs to run it
in the correct mode to be tested: eg: TEST_SH='bash -o posix'
Also finished the implementation of tests of "set -n" now that
the NetBSD shell supports that as it should. (from kre)
2016-03-01 12:39:35 +00:00
christos 1843eb8cb0 more tests from kre 2016-02-29 23:52:53 +00:00
christos 22e9b677fe uncomment clean up 2016-02-24 14:42:50 +00:00
christos b189a00530 Test improvements from kre 2016-02-24 14:42:06 +00:00
christos c1ce7cf3ee Add t_option, from kre (with minor edits from me) 2016-02-23 16:20:42 +00:00
christos dd10ee88d0 Add new redirection test, from kre 2016-02-23 14:21:37 +00:00
christos 7b91d0e80f PR/43469 has been fixed 2016-02-22 20:02:29 +00:00
christos 449b5d003c Add new test 2016-02-22 19:52:03 +00:00
christos dd7e4e3700 undo accidental commit 2016-02-19 13:49:01 +00:00
christos 64d8e9d299 Add a test for PR/50827 2016-02-19 13:48:28 +00:00
christos 585297dcfb more robust ulimit test that works with most variants of bourne shells. 2015-12-30 22:24:44 +00:00
ozaki-r 3f3bb7d2ee Add delay to improve stability of test 2015-09-30 06:08:36 +00:00
christos 7ec9eaaab4 another wait test. 2015-08-23 07:15:16 +00:00
dholland 83a65169bb Visit the Bureau of Redundancy Department.
From Henning Petersen in PR 49191.
2014-09-11 18:25:30 +00:00
apb 91bc8fa990 Run scripts at build time via ${HOST_SH} 2014-07-27 14:24:17 +00:00
christos 9462261d53 PR/48843: Jarmo Jaakkola: Test cses for break/continue/return broken
inside dot commands:

 The test cases are named with the pattern
     dotscope_cmd_cmdscope,
 where dotscope is the scope in which the dot command is and cmdscope
 is the scope where cmd is in the sourced file.
2014-05-31 14:29:06 +00:00
mlelstv 3ca9670bad Adjust default column test to the changed ps -s output. 2014-01-16 04:16:32 +00:00
ast 83d9b54597 Fix PR bin/48202 [non-critical/low]:
sh +nounset and `for X; do` iteration fails if parameter set empty
by applying and testing FreeBSD's patch of Oct 24 2009 for this; see
  http://svnweb.freebsd.org/base/head/bin/sh/expand.c?r1=198453&r2=198454
Also created an ATF test in tests/bin/sh/t_expand.sh for this error and
corrected a space->tabs problem there as well.
2013-10-06 21:05:50 +00:00
njoly 8d31656afc New testcase to check limits flags for ulimit builtin. 2012-06-11 18:32:59 +00:00
jruoho 144c5468dc Although this does not fail, add a case for the discussion in PR bin/46327. 2012-04-13 06:12:32 +00:00
njoly bd5752189c Add sleep to the list. 2012-03-30 15:49:24 +00:00
jruoho 47dea51ec6 Add regression tests for PR bin/3914 and PR bin/27140. 2012-03-30 09:27:10 +00:00
jruoho 2e3d44b8f5 Fix another type in the metadata. 2012-03-27 17:57:02 +00:00
jruoho 651e2c6948 Add regression tests for the 1990s bugs PR bin/3538 and PR bin/4841. 2012-03-27 08:16:33 +00:00
jruoho 32204f9f4d Add a check for old PR bin/2486. 2012-03-27 07:23:06 +00:00
christos 9c65f155f8 PR/43597 was fixed 2012-03-25 18:50:19 +00:00
christos ec4d512c60 ksh trap has been fixed. 2012-03-25 17:30:59 +00:00
jruoho 2447f335ab Note PR bin/12838. 2012-03-20 06:30:02 +00:00
jruoho 28604916d4 Deprecate tests/util. 2012-03-17 16:33:10 +00:00