From 0d70d054586cf2e718aacd5fccfc47e32975b092 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 19 Jun 2000 21:22:44 +0000 Subject: * Various fixes for problems in the 3.79.0.1 pretest. --- tests/scripts/functions/addsuffix | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) (limited to 'tests/scripts/functions/addsuffix') diff --git a/tests/scripts/functions/addsuffix b/tests/scripts/functions/addsuffix index d150f07..da4fbb7 100644 --- a/tests/scripts/functions/addsuffix +++ b/tests/scripts/functions/addsuffix @@ -1,44 +1,36 @@ -$description = "The following test creates a makefile to test the addsuffix " - ."function."; +# -*-perl-*- +$description = "Test the addsuffix function."; $details = ""; -# IF YOU NEED >1 MAKEFILE FOR THIS TEST, USE &get_tmpfile; TO GET -# THE NAME OF THE MAKEFILE. THIS INSURES CONSISTENCY AND KEEPS TRACK OF -# HOW MANY MAKEFILES EXIST FOR EASY DELETION AT THE END. -# EXAMPLE: $makefile2 = &get_tmpfile; - open(MAKEFILE,"> $makefile"); # The Contents of the MAKEFILE ... -print MAKEFILE "string := \$(addsuffix .c,src${pathsep}a.b.z.foo hacks) \n" - ."all: \n" - ."\t\@echo \$(string) \n"; +print MAKEFILE <