summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2005-03-01 08:01:05 +0000
committerBoris Kolpackov <boris@kolpackov.net>2005-03-01 08:01:05 +0000
commit0759af440a1d721f0248b2ea83fe0ad8a1c19cfb (patch)
tree2eb951af15ca852b73c687299bd667c0cdcfa3aa /tests/scripts
parenta2232470c27151ba0c1c37f3eba1e35396d7eabf (diff)
downloadgunmake-0759af440a1d721f0248b2ea83fe0ad8a1c19cfb.tar.gz
Fixed Savannah bug #12180.
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/features/statipattrules16
1 files changed, 10 insertions, 6 deletions
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;