aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-08-24 15:56:09 +0100
committerRon Yorston <rmy@pobox.com>2023-08-24 15:56:09 +0100
commit180a05ae7e00bf6a7a89740bba0bde300e34f93d (patch)
tree946ab496ca25839fbc8bcd30aa6bcc7ff430e51c
parent8d70faa33f782504838d0da8892f978d17adcdec (diff)
downloadbusybox-w32-180a05ae7e00bf6a7a89740bba0bde300e34f93d.tar.gz
busybox-w32-180a05ae7e00bf6a7a89740bba0bde300e34f93d.tar.bz2
busybox-w32-180a05ae7e00bf6a7a89740bba0bde300e34f93d.zip
Add test for .DEFAULT rule for prerequisite
Add a test for the problem reported in -w32 GitHub issue #354.
-rwxr-xr-xtestsuite/make.tests7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 2d286d5b8..b53b4a2ea 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -23,6 +23,13 @@ testing "make .DEFAULT rule" \
23target: 23target:
24' 24'
25 25
26testing "make .DEFAULT rule for prerequisite" \
27 "make -f - 2>/dev/null" "source\n" "" '
28.DEFAULT:
29 @echo $@
30target: source
31'
32
26# Macros should be expanded before suffix substitution. The suffixes 33# Macros should be expanded before suffix substitution. The suffixes
27# can be obtained by macro expansion. 34# can be obtained by macro expansion.
28testing "make macro expansion and suffix substitution" \ 35testing "make macro expansion and suffix substitution" \