Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/shell-ksh.mk
RevisionDateAuthorComments
 1.2  05-Jun-2025  rillig make: remove empty line from diagnostic, add tests for output handling

The warning for the invalid internal option "-J" does not need a
trailing newline, as that is provided by Parse_Error already.

Having this newline in the output demonstrated a previously unknown bug
in handling the output of child commands in parallel mode. There, empty
lines are randomly discarded, depending on the chunks in which the
output from the child process is copied to make's stdout. See
job-output.mk for a demonstration.

The test for the Korn shell did not run the Korn shell in error handling
mode, as the error handling mode only affects the parallel mode but the
test didn't switch to that mode.

After fixing the shell-ksh.mk test, the single '"' in the output looked
suspicious, and indeed, the shell-csh.mk test had the same problem of
filtering more characters from the output than intended.
 1.1  03-Oct-2020  rillig branches: 1.1.8;
make(1): add tests for the various supported shells
 1.1.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed