summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/scripts/features/statipattrules16
2 files changed, 15 insertions, 6 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 1979324..2c58900 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+Tue Mar 1 10:15:25 2005 Boris Kolpackov <boris@kolpackov.net>
+
+ * tests/scripts/features/statipattrules: Add a test for
+ Savannah bug #12180.
+
2005-02-28 Paul D. Smith <psmith@gnu.org>
* scripts/options/dash-q: Add a test for Savannah bug # 7144.
diff --git a/tests/scripts/features/statipattrules b/tests/scripts/features/statipattrules
index 29a7c08..7d35ec3 100644
--- a/tests/scripts/features/statipattrules
+++ b/tests/scripts/features/statipattrules
@@ -62,11 +62,15 @@ close(MAKEFILE);
$answer = "$makefile2:1: *** target `foo' leaves prerequisite pattern empty. Stop.\n";
&compare_output($answer, &get_logfile(1));
+# TEST #5 -- bug #12180: core dump on a stat pattern rule with an empty
+# prerequisite list.
+#
+run_make_test('
+foo.x bar.x: %.x : ; @echo $@
-1;
-
-
-
-
-
+',
+'',
+'foo.x
+');
+1;