Home | History | Annotate | Download | only in sh
History log of /src/tests/bin/sh/t_cmdsub.sh
RevisionDateAuthorComments
 1.6  11-May-2023  gutteridge t_cmdsub.sh: fix naming of head() of cmdsub_paren_tests
 1.5  16-Jun-2017  kre Add a new test to verify correct operation when a command substitution
produces output with a very large number of consecutive embegged \n
characters.

This test is currently expected to fail (as of commit date) but is not
marked as atf_expect_fail as the shell should be fixed to avoid the
problem quite soon. Until then almost anything might happen to the
sh that runs this test (from just plain wrong results, to core dumps,
even possibly the right results, though that's unlikely).

Whie doing this, get rid of the duplicate implementation of the
nested_cmdsubs_in_heredoc test (which was achieving nothing). I know
how I managed to do that, but on advice of counsel, I ... (it was
just a harmless waste of a tiny amount of CPU time "compiling" the test,
just like writing "x=0;" on consecutive lines....)
 1.4  04-Apr-2016  christos Add a test case for here documents positioned outside `` with the
redirect operator inside the ``. Move the one similar test using
$( ) into its own test case (and expand that test as well.
The `` case was omitted before, as no shells (including NetBSD) were
parsing it correctly, Now the NetBSD shell does, so ... (from kre@)
 1.3  31-Mar-2016  christos Added tests collected by Sven Mascheck
http://www.in-ulm.de/~mascheck/various/cmd-subst/
which test cases of ')' being embedded in command substitutions.
(from kre@)
 1.2  27-Mar-2016  christos Finish these tests (or at least, fill in the place holder tests
with actual code ... tests are never really finished.) One of these
new tests was how the bug in PR bin/50993 was discovered. (from kre@)
 1.1  20-Mar-2016  christos new command substitution test from kre

RSS XML Feed