diff options
-rwxr-xr-x | testsuite/make.tests | 7 |
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" \ | |||
23 | target: | 23 | target: |
24 | ' | 24 | ' |
25 | 25 | ||
26 | testing "make .DEFAULT rule for prerequisite" \ | ||
27 | "make -f - 2>/dev/null" "source\n" "" ' | ||
28 | .DEFAULT: | ||
29 | @echo $@ | ||
30 | target: 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. |
28 | testing "make macro expansion and suffix substitution" \ | 35 | testing "make macro expansion and suffix substitution" \ |