summaryrefslogtreecommitdiff
path: root/tests/scripts/features/include
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/features/include')
-rw-r--r--tests/scripts/features/include11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scripts/features/include b/tests/scripts/features/include
index 7ad4112..ba8908c 100644
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -165,4 +165,15 @@ baz: end
#MAKE#: *** No rule to make target `end', needed by `baz'. Stop.\n",
512);
+if ($all_tests) {
+ # Test that include of a rebuild-able file doesn't show a warning
+ # Savannah bug #102
+ run_make_test(q!
+include foo
+foo: ; @echo foo = bar > $@
+!,
+ '', "#MAKE#: `foo' is up to date.\n");
+ rmfiles('foo');
+}
+
1;