diff options
author | ru <ru@FreeBSD.org> | 2004-01-30 09:46:28 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-01-30 09:46:28 +0000 |
commit | 9f8626709a7ee9c095848b2e5d603c02116fcba9 (patch) | |
tree | f2a03575b3207b6718f46240b1783a888d94dc72 /tools/build | |
parent | 2b5008cb00729f95719898d4a9ea3dedef494d47 (diff) | |
download | FreeBSD-src-9f8626709a7ee9c095848b2e5d603c02116fcba9.zip FreeBSD-src-9f8626709a7ee9c095848b2e5d603c02116fcba9.tar.gz |
Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29
of make/str.c.
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/make_check/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/build/make_check/Makefile b/tools/build/make_check/Makefile index 044c0c3..fcee42e 100644 --- a/tools/build/make_check/Makefile +++ b/tools/build/make_check/Makefile @@ -50,6 +50,9 @@ all: @echo "Running test double_quotes" @${MAKE} double_quotes || ${MAKE} failure @echo "PASS: Test double_quotes detected no regression." + @echo "Running test double_quotes2" + @! ${MAKE} double_quotes2 >/dev/null 2>&1 && true || ${MAKE} failure + @echo "PASS: Test double_quotes2 detected no regression." .if make(double) # Doubly-defined targets. make(1) will warn, but use the "right" one. If it @@ -124,6 +127,11 @@ double_quotes: .endif .endif +.if make(double_quotes2) +double_quotes2: + @cat /dev/null "" +.endif + failure: @echo "FAIL: Test failed: regression detected. See above." @false |