summaryrefslogtreecommitdiff
path: root/tests/scripts/features/vpath
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/features/vpath')
-rw-r--r--tests/scripts/features/vpath19
1 files changed, 19 insertions, 0 deletions
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;