NetBSD/usr.bin/make/unit-tests/deptgt-end-jobs.exp
rillig 84ce7c67b4 make(1): fix assertion failure in -j mode with .END node
There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.
2020-09-23 03:06:38 +00:00

9 lines
185 B
Plaintext

: .BEGIN '${VAR}'
--- all ---
: all '${VAR}'
: .END '${VAR}'
: .END '${VAR}' deferred
: .BEGIN 'Should not be expanded.' deferred
: all 'Should not be expanded.' deferred
exit status 0