| History log of /src/tests/bin/sh/Makefile |
| Revision | | Date | Author | Comments |
| 1.15 |
| 16-Feb-2021 |
kre | PR bin/55979
Add a sh ATF test to demonstrate a bug in the way that \0 characters are dropped from scripts. This test will eventually be extended to test other potential sh script input related issues.
When initially committed, this test should fail. It should succeed when the fix for the PR is committed (soon).
Nb: this tests only the \0 related issues from the PR, the MSAN detected uninitialised variable (struct field) can only be detected by MSAN, as it has no visible impact on the operation of the shell when running on any real (or even emulated) hardware. (It will, however, also be fixed).
|
| 1.14 |
| 05-Dec-2018 |
kre | 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...)
|
| 1.13 |
| 10-Jul-2018 |
kre | Add tests for pattern matching (filename expansion (glob), case statement patterns, and variable expansion substring matching)
Currently (2018-07-10) all 3 sub-tests fail (sh bugs...) Expect to see 14 (of 261) case matching sub-tests fail, 11 (of 167) filename expansion (glob) sub-tests fail, and 6 (of 87) var substring sub-tests fail.
Also expect those numbers to reduce as sh bugs are fixed.
|
| 1.12 |
| 20-May-2017 |
kre | branches: 1.12.8; 1.12.10;
Add a test of sh syntax & parsing (first attempt anyway.)
|
| 1.11 |
| 20-Mar-2016 |
christos | new command substitution test from kre
|
| 1.10 |
| 16-Mar-2016 |
christos | Better tests for redircloexec and add t_shift (from kre)
|
| 1.9 |
| 16-Mar-2016 |
christos | New tests from kre
|
| 1.8 |
| 13-Mar-2016 |
christos | Add some redir-close-on-exec tests
|
| 1.7 |
| 08-Mar-2016 |
christos | remove old test
|
| 1.6 |
| 23-Feb-2016 |
christos | Add t_option, from kre (with minor edits from me)
|
| 1.5 |
| 22-Feb-2016 |
christos | Add new test
|
| 1.4 |
| 11-Sep-2014 |
dholland | Visit the Bureau of Redundancy Department. From Henning Petersen in PR 49191.
|
| 1.3 |
| 31-May-2014 |
christos | 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.
|
| 1.2 |
| 11-Jun-2012 |
njoly | branches: 1.2.2; 1.2.8; New testcase to check limits flags for ulimit builtin.
|
| 1.1 |
| 17-Mar-2012 |
jruoho | branches: 1.1.2; Deprecate tests/util.
|
| 1.1.2.3 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.1.2.2 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.1.2.1 |
| 17-Mar-2012 |
yamt | file Makefile was added on branch yamt-pagecache on 2012-04-17 00:09:02 +0000
|
| 1.2.8.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.2.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.12.10.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.12.8.2 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.12.8.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|