From be6b22a2837a7a5b12e4d3c0b845266247cfd3ad Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 14 Jun 2009 06:08:11 +0000 Subject: - Fix Savannah bug #13529 --- tests/scripts/features/vpath | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'tests/scripts/features/vpath') diff --git a/tests/scripts/features/vpath b/tests/scripts/features/vpath index 101a25d..a3aebd9 100644 --- a/tests/scripts/features/vpath +++ b/tests/scripts/features/vpath @@ -1,3 +1,5 @@ +# -*-perl-*- + $description = "The following test creates a makefile to test the \n" ."vpath directive which allows you to specify a search \n" ."path for a particular class of filenames, those that\n" @@ -59,4 +61,21 @@ if (&compare_output($answer,&get_logfile(1))) unlink @files_to_touch; } +# TEST 2: after vpath lookup ensure we don't get incorrect circular dependency +# warnings due to change of struct file ptr. Savannah bug #13529. + +mkdir('vpath-d', 0777); + +run_make_test(q! +vpath %.te vpath-d/ +.SECONDARY: +default: vpath-d/a vpath-d/b +vpath-d/a: fail.te +vpath-d/b : fail.te +vpath-d/fail.te: +!, + '', "#MAKE#: Nothing to be done for `default'.\n"); + +rmdir('vpath-d'); + 1; -- cgit v1.2.3