From da1b137e389365ddfb9d16b3d6761cf1a3986e0b Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 27 Jun 2005 01:01:07 +0000 Subject: Fix strerror() handling for systems which set ANSI_STRING. Don't print errors if "include" is specified with no arguments. New test suite for the $(shell ...) function. --- tests/scripts/features/include | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/include b/tests/scripts/features/include index 26ee1bd..5030662 100644 --- a/tests/scripts/features/include +++ b/tests/scripts/features/include @@ -107,4 +107,14 @@ foo: bar; @: bar:; @false ', '', ''); +# Check include, sinclude, -include with no filenames. +# (Savannah bug #1761). + +run_make_test(' +.PHONY: all +all:; @: +include +-include +sinclude', '', ''); + 1; -- cgit v1.2.3