make(1): demonstrate wrong output when using csh in parallel mode

This commit is contained in:
rillig 2020-10-03 15:23:42 +00:00
parent 53e5ff806e
commit cc4e65a520
2 changed files with 9 additions and 2 deletions

View File

@ -1,8 +1,10 @@
echo normal
normal
se
hidden
echo always
always
se
echo ignore errors
ignore errors
exit status 0

View File

@ -1,8 +1,13 @@
# $NetBSD: shell-csh.mk,v 1.2 2020/10/03 15:21:12 rillig Exp $
# $NetBSD: shell-csh.mk,v 1.3 2020/10/03 15:23:42 rillig Exp $
#
# Tests for using a C shell for running the commands.
.SHELL: name="csh" path="csh"
.SHELL: name="csh" path="${:!which csh!}"
# The -j option is needed to cover the code in JobOutput.
#
# FIXME: The "se " does not belong in the output.
.MAKEFLAGS: -j1
all:
# This command is both printed and executed.