summaryrefslogtreecommitdiff
path: root/tests/scripts/variables/DEFAULT_GOAL
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/variables/DEFAULT_GOAL')
-rw-r--r--tests/scripts/variables/DEFAULT_GOAL9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/variables/DEFAULT_GOAL b/tests/scripts/variables/DEFAULT_GOAL
index 897bd4a..1c06506 100644
--- a/tests/scripts/variables/DEFAULT_GOAL
+++ b/tests/scripts/variables/DEFAULT_GOAL
@@ -73,6 +73,15 @@ $(call make-rule)
'',
'foo');
+# TEST #5: .DEFAULT_GOAL containing just whitespace (Savannah bug #25697)
+
+run_make_test('
+N =
+.DEFAULT_GOAL = $N $N # Just whitespace
+
+foo: ; @echo "boo"
+',
+ '', "#MAKE#: *** No targets. Stop.\n", 512);
# This tells the test driver that the perl test script executed properly.
1;