Module Name: src Committed By: rillig Date: Fri Jul 31 20:16:21 UTC 2020
Modified Files: src/usr.bin/make/unit-tests: dir.exp dir.mk Log Message: make(1): add a test for deeply nested brace dependency To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/dir.exp cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/dir.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/unit-tests/dir.exp diff -u src/usr.bin/make/unit-tests/dir.exp:1.4 src/usr.bin/make/unit-tests/dir.exp:1.5 --- src/usr.bin/make/unit-tests/dir.exp:1.4 Fri Jul 31 20:08:08 2020 +++ src/usr.bin/make/unit-tests/dir.exp Fri Jul 31 20:16:21 2020 @@ -15,4 +15,5 @@ fetch-post extract extract-post dup-1 +single-word exit status 0 Index: src/usr.bin/make/unit-tests/dir.mk diff -u src/usr.bin/make/unit-tests/dir.mk:1.3 src/usr.bin/make/unit-tests/dir.mk:1.4 --- src/usr.bin/make/unit-tests/dir.mk:1.3 Fri Jul 31 20:08:08 2020 +++ src/usr.bin/make/unit-tests/dir.mk Fri Jul 31 20:16:21 2020 @@ -1,4 +1,4 @@ -# $NetBSD: dir.mk,v 1.3 2020/07/31 20:08:08 rillig Exp $ +# $NetBSD: dir.mk,v 1.4 2020/07/31 20:16:21 rillig Exp $ # # Tests for dir.c. @@ -50,3 +50,9 @@ all: dup-{1,1,1,1,1,1,1} dup-1: @echo $@ + +# Other than in Bash, the braces are also expanded if there is no comma. +all: {{{{{{{{{{single-word}}}}}}}}}} + +single-word: + @echo $@