head 1.2; access; symbols netbsd-11-0-RELEASE:1.2 netbsd-11-0-RC7:1.2 netbsd-11-0-RC6:1.2 netbsd-11-0-RC5:1.2 netbsd-11-0-RC4:1.2 netbsd-11-0-RC3:1.2 netbsd-11-0-RC2:1.2 netbsd-11-0-RC1:1.2 perseant-exfatfs-base-20250801:1.2 netbsd-11:1.2.0.2 netbsd-11-base:1.2 netbsd-10-1-RELEASE:1.1 perseant-exfatfs-base-20240630:1.1 perseant-exfatfs:1.1.0.8 perseant-exfatfs-base:1.1 netbsd-10-0-RELEASE:1.1 netbsd-10-0-RC6:1.1 netbsd-10-0-RC5:1.1 netbsd-10-0-RC4:1.1 netbsd-10-0-RC3:1.1 netbsd-10-0-RC2:1.1 netbsd-10-0-RC1:1.1 netbsd-10:1.1.0.6 netbsd-10-base:1.1 cjep_sun2x-base1:1.1 cjep_sun2x:1.1.0.4 cjep_sun2x-base:1.1 cjep_staticlib_x-base1:1.1 cjep_staticlib_x:1.1.0.2 cjep_staticlib_x-base:1.1; locks; strict; comment @# @; 1.2 date 2025.06.05.21.56.54; author rillig; state Exp; branches; next 1.1; commitid 5HlgHu0266W5tKXF; 1.1 date 2020.10.03.14.39.36; author rillig; state Exp; branches 1.1.8.1; next ; commitid J3sFw4YKlRjgZsqC; 1.1.8.1 date 2025.08.02.05.58.37; author perseant; state Exp; branches; next ; commitid 23j6GFaDws3O875G; desc @@ 1.2 log @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. @ text @echo normal normal hidden echo always always echo ignore errors ignore errors The "is filtered out. exit status 0 @ 1.1 log @make(1): add tests for the various supported shells @ text @d1 8 a8 3 : normal : always : ignore errors @ 1.1.8.1 log @Sync with HEAD @ text @d1 3 a3 8 echo normal normal hidden echo always always echo ignore errors ignore errors The "is filtered out. @