mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
548bfc56eb
Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
14 lines
331 B
Makefile
14 lines
331 B
Makefile
# $NetBSD: directive-for-null.mk,v 1.4 2024/04/01 12:26:02 rillig Exp $
|
|
#
|
|
# Test for parsing a .for loop that accidentally contains a null byte.
|
|
#
|
|
# expect: make: "(stdin)" line 2: Zero byte read from file
|
|
|
|
all: .PHONY
|
|
@printf '%s\n' \
|
|
'.for i in 1 2 3' \
|
|
'VAR=value' \
|
|
'.endfor' \
|
|
| tr 'l' '\0' \
|
|
| ${MAKE} -f -
|